Struct rustc_lint::BuiltinCombinedEarlyLintPass[][src]

pub struct BuiltinCombinedEarlyLintPass {
Show 13 fields UnusedParens: UnusedParens, UnusedBraces: UnusedBraces, UnusedImportBraces: UnusedImportBraces, UnsafeCode: UnsafeCode, AnonymousParameters: AnonymousParameters, EllipsisInclusiveRangePatterns: EllipsisInclusiveRangePatterns, NonCamelCaseTypes: NonCamelCaseTypes, DeprecatedAttr: DeprecatedAttr, WhileTrue: WhileTrue, NonAsciiIdents: NonAsciiIdents, IncompleteFeatures: IncompleteFeatures, RedundantSemicolons: RedundantSemicolons, UnusedDocComment: UnusedDocComment,
}

Fields

UnusedParens: UnusedParensUnusedBraces: UnusedBracesUnusedImportBraces: UnusedImportBracesUnsafeCode: UnsafeCodeAnonymousParameters: AnonymousParametersEllipsisInclusiveRangePatterns: EllipsisInclusiveRangePatternsNonCamelCaseTypes: NonCamelCaseTypesDeprecatedAttr: DeprecatedAttrWhileTrue: WhileTrueNonAsciiIdents: NonAsciiIdentsIncompleteFeatures: IncompleteFeaturesRedundantSemicolons: RedundantSemicolonsUnusedDocComment: UnusedDocComment

Implementations

Trait Implementations

fn check_crate_post(&mut self, context: &EarlyContext<'_>, a: &Crate)

fn check_foreign_item_post(
    &mut self,
    context: &EarlyContext<'_>,
    a: &ForeignItem
)

fn check_item_post(&mut self, context: &EarlyContext<'_>, a: &Item)

fn check_block_post(&mut self, context: &EarlyContext<'_>, a: &Block)

fn check_pat_post(&mut self, context: &EarlyContext<'_>, a: &Pat)

fn check_expr_post(&mut self, context: &EarlyContext<'_>, a: &Expr)

fn check_fn_post(
    &mut self,
    context: &EarlyContext<'_>,
    a: FnKind<'_>,
    c: Span,
    d: NodeId
)

fn check_trait_item_post(&mut self, context: &EarlyContext<'_>, a: &AssocItem)

fn check_impl_item_post(&mut self, context: &EarlyContext<'_>, a: &AssocItem)

fn check_struct_def_post(&mut self, context: &EarlyContext<'_>, a: &VariantData)

fn check_variant_post(&mut self, context: &EarlyContext<'_>, a: &Variant)

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 even differ between compilations. 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: 32 bytes