Enum rustc_lint_defs::BuiltinLintDiagnostics [−][src]
pub enum BuiltinLintDiagnostics {
Show variants
Normal,
BareTraitObject(Span, bool),
AbsPathWithModule(Span),
ProcMacroDeriveResolutionFallback(Span),
MacroExpandedMacroExportsAccessedByAbsolutePaths(Span),
ElidedLifetimesInPaths(usize, Span, bool, Span, String),
UnknownCrateTypes(Span, String, String),
UnusedImports(String, Vec<(Span, String)>),
RedundantImport(Vec<(Span, bool)>, Ident),
DeprecatedMacro(Option<Symbol>, Span),
MissingAbi(Span, Abi),
UnusedDocComment(Span),
PatternsInFnsWithoutBody(Span, Ident),
LegacyDeriveHelpers(Span),
ExternDepSpec(String, ExternDepSpec),
ProcMacroBackCompat(String),
OrPatternsBackCompat(Span, String),
}Variants
AbsPathWithModule(Span)ProcMacroDeriveResolutionFallback(Span)MacroExpandedMacroExportsAccessedByAbsolutePaths(Span)UnusedDocComment(Span)LegacyDeriveHelpers(Span)ExternDepSpec(String, ExternDepSpec)ProcMacroBackCompat(String)Trait Implementations
impl PartialEq<BuiltinLintDiagnostics> for BuiltinLintDiagnostics[src]
fn eq(&self, other: &BuiltinLintDiagnostics) -> bool[src]
fn ne(&self, other: &BuiltinLintDiagnostics) -> bool[src]
impl StructuralPartialEq for BuiltinLintDiagnostics[src]
Auto Trait Implementations
impl RefUnwindSafe for BuiltinLintDiagnostics
impl !Send for BuiltinLintDiagnostics
impl !Sync for BuiltinLintDiagnostics
impl Unpin for BuiltinLintDiagnostics
impl UnwindSafe for BuiltinLintDiagnostics
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>,