Enum rustc_lint_defs::BuiltinLintDiagnostics [−][src]
pub enum BuiltinLintDiagnostics {
Show 22 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),
UnusedBuiltinAttribute {
attr_name: Symbol,
macro_name: String,
invoc_span: Span,
},
PatternsInFnsWithoutBody(Span, Ident),
LegacyDeriveHelpers(Span),
ExternDepSpec(String, ExternDepSpec),
ProcMacroBackCompat(String),
OrPatternsBackCompat(Span, String),
ReservedPrefix(Span),
TrailingMacro(bool, Ident),
BreakWithLabelAndLoop(Span),
NamedAsmLabel(String),
}Variants
Tuple Fields of AbsPathWithModule
0: SpanTuple Fields of ProcMacroDeriveResolutionFallback
0: SpanTuple Fields of MacroExpandedMacroExportsAccessedByAbsolutePaths
0: SpanTuple Fields of UnusedDocComment
0: SpanTuple Fields of LegacyDeriveHelpers
0: SpanTuple Fields of ExternDepSpec
0: String1: ExternDepSpecTuple Fields of ProcMacroBackCompat
0: StringTuple Fields of ReservedPrefix
0: SpanTuple Fields of BreakWithLabelAndLoop
0: SpanTuple Fields of NamedAsmLabel
0: StringTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 72 bytes