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

Normal
BareTraitObject

Tuple Fields of BareTraitObject

0: Span1: bool
AbsPathWithModule

Tuple Fields of AbsPathWithModule

0: Span
ProcMacroDeriveResolutionFallback

Tuple Fields of ProcMacroDeriveResolutionFallback

0: Span
MacroExpandedMacroExportsAccessedByAbsolutePaths

Tuple Fields of MacroExpandedMacroExportsAccessedByAbsolutePaths

0: Span
ElidedLifetimesInPaths

Tuple Fields of ElidedLifetimesInPaths

0: usize1: Span2: bool3: Span4: String
UnknownCrateTypes

Tuple Fields of UnknownCrateTypes

0: Span1: String2: String
UnusedImports

Tuple Fields of UnusedImports

0: String1: Vec<(Span, String)>
RedundantImport

Tuple Fields of RedundantImport

0: Vec<(Span, bool)>1: Ident
DeprecatedMacro

Tuple Fields of DeprecatedMacro

0: Option<Symbol>1: Span
MissingAbi

Tuple Fields of MissingAbi

0: Span1: Abi
UnusedDocComment

Tuple Fields of UnusedDocComment

0: Span
UnusedBuiltinAttribute

Fields of UnusedBuiltinAttribute

attr_name: Symbolmacro_name: Stringinvoc_span: Span
PatternsInFnsWithoutBody

Tuple Fields of PatternsInFnsWithoutBody

0: Span1: Ident
LegacyDeriveHelpers

Tuple Fields of LegacyDeriveHelpers

0: Span
ExternDepSpec

Tuple Fields of ExternDepSpec

0: String1: ExternDepSpec
ProcMacroBackCompat

Tuple Fields of ProcMacroBackCompat

0: String
OrPatternsBackCompat

Tuple Fields of OrPatternsBackCompat

0: Span1: String
ReservedPrefix

Tuple Fields of ReservedPrefix

0: Span
TrailingMacro

Tuple Fields of TrailingMacro

0: bool1: Ident
BreakWithLabelAndLoop

Tuple Fields of BreakWithLabelAndLoop

0: Span
NamedAsmLabel

Tuple Fields of NamedAsmLabel

0: String

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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