Struct rustc_lint::late::LateLintPassObjects [−][src]
struct LateLintPassObjects<'a> {
lints: &'a mut [Box<dyn for<'tcx> LateLintPass<'tcx> + Send + Sync + 'static>],
}
Fields
lints: &'a mut [Box<dyn for<'tcx> LateLintPass<'tcx> + Send + Sync + 'static>]
Trait Implementations
fn check_mod_post(
&mut self,
context: &LateContext<'tcx>,
a: &'tcx Mod<'tcx>,
b: Span,
c: HirId
)
fn check_foreign_item_post(
&mut self,
context: &LateContext<'tcx>,
a: &'tcx ForeignItem<'tcx>
)
fn check_where_predicate(
&mut self,
context: &LateContext<'tcx>,
a: &'tcx WherePredicate<'tcx>
)
fn check_poly_trait_ref(
&mut self,
context: &LateContext<'tcx>,
a: &'tcx PolyTraitRef<'tcx>,
b: TraitBoundModifier
)
fn check_fn(
&mut self,
context: &LateContext<'tcx>,
a: FnKind<'tcx>,
b: &'tcx FnDecl<'tcx>,
c: &'tcx Body<'tcx>,
d: Span,
e: HirId
)
fn check_fn_post(
&mut self,
context: &LateContext<'tcx>,
a: FnKind<'tcx>,
b: &'tcx FnDecl<'tcx>,
c: &'tcx Body<'tcx>,
d: Span,
e: HirId
)
Auto Trait Implementations
impl<'a> !RefUnwindSafe for LateLintPassObjects<'a>
impl<'a> !Send for LateLintPassObjects<'a>
impl<'a> !Sync for LateLintPassObjects<'a>
impl<'a> Unpin for LateLintPassObjects<'a>
impl<'a> !UnwindSafe for LateLintPassObjects<'a>
Blanket Implementations
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