[−][src]Struct rustc_lint::BufferedEarlyLint
Lints that are buffered up early on in the Session before the
LintLevels is calculated.
Fields
span: MultiSpanThe span of code that we are linting on.
msg: StringThe lint message.
node_id: NodeIdThe NodeId of the AST node that generated the lint.
lint_id: LintIdA lint Id that can be passed to
rustc_lint::early::EarlyContextAndPass::check_id.
diagnostic: BuiltinLintDiagnosticsCustomization of the DiagnosticBuilder<'_> for the lint.
Auto Trait Implementations
impl RefUnwindSafe for BufferedEarlyLint
impl !Send for BufferedEarlyLint
impl !Sync for BufferedEarlyLint
impl Unpin for BufferedEarlyLint
impl UnwindSafe for BufferedEarlyLint
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,