pub(crate) struct BuiltinCombinedModuleLateLintPass {
Show 31 fields pub(crate) HardwiredLints: HardwiredLints, pub(crate) ImproperCTypesDeclarations: ImproperCTypesDeclarations, pub(crate) ImproperCTypesDefinitions: ImproperCTypesDefinitions, pub(crate) VariantSizeDifferences: VariantSizeDifferences, pub(crate) BoxPointers: BoxPointers, pub(crate) PathStatements: PathStatements, pub(crate) UnusedResults: UnusedResults, pub(crate) NonUpperCaseGlobals: NonUpperCaseGlobals, pub(crate) NonShorthandFieldPatterns: NonShorthandFieldPatterns, pub(crate) UnusedAllocation: UnusedAllocation, pub(crate) MissingCopyImplementations: MissingCopyImplementations, pub(crate) MutableTransmutes: MutableTransmutes, pub(crate) TypeAliasBounds: TypeAliasBounds, pub(crate) TrivialConstraints: TrivialConstraints, pub(crate) TypeLimits: TypeLimits, pub(crate) NonSnakeCase: NonSnakeCase, pub(crate) InvalidNoMangleItems: InvalidNoMangleItems, pub(crate) UnreachablePub: UnreachablePub, pub(crate) ExplicitOutlivesRequirements: ExplicitOutlivesRequirements, pub(crate) InvalidValue: InvalidValue, pub(crate) DerefNullPtr: DerefNullPtr, pub(crate) UnusedBrokenConst: UnusedBrokenConst, pub(crate) UnstableFeatures: UnstableFeatures, pub(crate) ArrayIntoIter: ArrayIntoIter, pub(crate) DropTraitConstraints: DropTraitConstraints, pub(crate) TemporaryCStringAsPtr: TemporaryCStringAsPtr, pub(crate) NonPanicFmt: NonPanicFmt, pub(crate) NoopMethodCall: NoopMethodCall, pub(crate) EnumIntrinsicsNonEnums: EnumIntrinsicsNonEnums, pub(crate) InvalidAtomicOrdering: InvalidAtomicOrdering, pub(crate) NamedAsmLabels: NamedAsmLabels,
}

Fields

HardwiredLints: HardwiredLintsImproperCTypesDeclarations: ImproperCTypesDeclarationsImproperCTypesDefinitions: ImproperCTypesDefinitionsVariantSizeDifferences: VariantSizeDifferencesBoxPointers: BoxPointersPathStatements: PathStatementsUnusedResults: UnusedResultsNonUpperCaseGlobals: NonUpperCaseGlobalsNonShorthandFieldPatterns: NonShorthandFieldPatternsUnusedAllocation: UnusedAllocationMissingCopyImplementations: MissingCopyImplementationsMutableTransmutes: MutableTransmutesTypeAliasBounds: TypeAliasBoundsTrivialConstraints: TrivialConstraintsTypeLimits: TypeLimitsNonSnakeCase: NonSnakeCaseInvalidNoMangleItems: InvalidNoMangleItemsUnreachablePub: UnreachablePubExplicitOutlivesRequirements: ExplicitOutlivesRequirementsInvalidValue: InvalidValueDerefNullPtr: DerefNullPtrUnusedBrokenConst: UnusedBrokenConstUnstableFeatures: UnstableFeaturesArrayIntoIter: ArrayIntoIterDropTraitConstraints: DropTraitConstraintsTemporaryCStringAsPtr: TemporaryCStringAsPtrNonPanicFmt: NonPanicFmtNoopMethodCall: NoopMethodCallEnumIntrinsicsNonEnums: EnumIntrinsicsNonEnumsInvalidAtomicOrdering: InvalidAtomicOrderingNamedAsmLabels: NamedAsmLabels

Implementations

Trait Implementations

source

fn check_body_post(&mut self, context: &LateContext<'tcx>, a: &'tcx Body<'tcx>)

source

fn check_crate_post(&mut self, context: &LateContext<'tcx>)

source

fn check_mod_post(
    &mut self,
    context: &LateContext<'tcx>,
    a: &'tcx Mod<'tcx>,
    b: Span,
    c: HirId
)

source

fn check_foreign_item_post(
    &mut self,
    context: &LateContext<'tcx>,
    a: &'tcx ForeignItem<'tcx>
)

source

fn check_item_post(&mut self, context: &LateContext<'tcx>, a: &'tcx Item<'tcx>)

source

fn check_block_post(
    &mut self,
    context: &LateContext<'tcx>,
    a: &'tcx Block<'tcx>
)

source

fn check_expr_post(&mut self, context: &LateContext<'tcx>, a: &'tcx Expr<'tcx>)

source

fn check_fn_post(
    &mut self,
    context: &LateContext<'tcx>,
    a: FnKind<'tcx>,
    b: &'tcx FnDecl<'tcx>,
    c: &'tcx Body<'tcx>,
    d: Span,
    e: HirId
)

source

fn check_trait_item_post(
    &mut self,
    context: &LateContext<'tcx>,
    a: &'tcx TraitItem<'tcx>
)

source

fn check_impl_item_post(
    &mut self,
    context: &LateContext<'tcx>,
    a: &'tcx ImplItem<'tcx>
)

source

fn check_struct_def_post(
    &mut self,
    context: &LateContext<'tcx>,
    a: &'tcx VariantData<'tcx>
)

source

fn check_variant_post(
    &mut self,
    context: &LateContext<'tcx>,
    a: &'tcx Variant<'tcx>
)

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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: 16 bytes