Struct rustc_lint::builtin::HardwiredLints [−][src]
pub struct HardwiredLints;
Expand description
Does nothing as a lint pass, but registers some Lints
that are used by other parts of the compiler.
Trait Implementations
fn check_poly_trait_ref(
&mut self,
_: &LateContext<'tcx>,
_: &'tcx PolyTraitRef<'tcx>,
_: TraitBoundModifier
)fn check_fn(
&mut self,
_: &LateContext<'tcx>,
_: FnKind<'tcx>,
_: &'tcx FnDecl<'tcx>,
_: &'tcx Body<'tcx>,
_: Span,
_: HirId
)fn check_fn_post(
&mut self,
_: &LateContext<'tcx>,
_: FnKind<'tcx>,
_: &'tcx FnDecl<'tcx>,
_: &'tcx Body<'tcx>,
_: Span,
_: HirId
)Auto Trait Implementations
impl RefUnwindSafe for HardwiredLintsimpl Send for HardwiredLintsimpl Sync for HardwiredLintsimpl Unpin for HardwiredLintsimpl UnwindSafe for HardwiredLintsBlanket Implementations
Mutably borrows from an owned value. Read more
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: 0 bytes