Struct rustc_lint::early::EarlyLintPassObjects
source · [−]struct EarlyLintPassObjects<'a> {
lints: &'a mut [Box<dyn EarlyLintPass + Send + 'static>],
}
Fields
lints: &'a mut [Box<dyn EarlyLintPass + Send + 'static>]
Trait Implementations
sourceimpl EarlyLintPass for EarlyLintPassObjects<'_>
impl EarlyLintPass for EarlyLintPassObjects<'_>
fn check_param(&mut self, context: &EarlyContext<'_>, a: &Param)
fn check_ident(&mut self, context: &EarlyContext<'_>, a: Ident)
fn check_crate(&mut self, context: &EarlyContext<'_>, a: &Crate)
fn check_crate_post(&mut self, context: &EarlyContext<'_>, a: &Crate)
fn check_item(&mut self, context: &EarlyContext<'_>, a: &Item)
fn check_item_post(&mut self, context: &EarlyContext<'_>, a: &Item)
fn check_local(&mut self, context: &EarlyContext<'_>, a: &Local)
fn check_block(&mut self, context: &EarlyContext<'_>, a: &Block)
fn check_stmt(&mut self, context: &EarlyContext<'_>, a: &Stmt)
fn check_arm(&mut self, context: &EarlyContext<'_>, a: &Arm)
fn check_pat(&mut self, context: &EarlyContext<'_>, a: &Pat)
fn check_pat_post(&mut self, context: &EarlyContext<'_>, a: &Pat)
fn check_expr(&mut self, context: &EarlyContext<'_>, a: &Expr)
fn check_ty(&mut self, context: &EarlyContext<'_>, a: &Ty)
fn check_generic_arg(&mut self, context: &EarlyContext<'_>, a: &GenericArg)
fn check_generic_param(&mut self, context: &EarlyContext<'_>, a: &GenericParam)
fn check_generics(&mut self, context: &EarlyContext<'_>, a: &Generics)
fn check_poly_trait_ref(&mut self, context: &EarlyContext<'_>, a: &PolyTraitRef)
fn check_fn(
&mut self,
context: &EarlyContext<'_>,
a: FnKind<'_>,
c: Span,
d_: NodeId
)
fn check_trait_item(&mut self, context: &EarlyContext<'_>, a: &AssocItem)
fn check_impl_item(&mut self, context: &EarlyContext<'_>, a: &AssocItem)
fn check_variant(&mut self, context: &EarlyContext<'_>, a: &Variant)
fn check_attribute(&mut self, context: &EarlyContext<'_>, a: &Attribute)
fn check_mac_def(&mut self, context: &EarlyContext<'_>, a: &MacroDef)
fn check_mac(&mut self, context: &EarlyContext<'_>, a: &MacCall)
fn enter_lint_attrs(&mut self, context: &EarlyContext<'_>, a: &[Attribute])
fn exit_lint_attrs(&mut self, context: &EarlyContext<'_>, a: &[Attribute])
Auto Trait Implementations
impl<'a> !RefUnwindSafe for EarlyLintPassObjects<'a>
impl<'a> !Send for EarlyLintPassObjects<'a>
impl<'a> !Sync for EarlyLintPassObjects<'a>
impl<'a> Unpin for EarlyLintPassObjects<'a>
impl<'a> !UnwindSafe for EarlyLintPassObjects<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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