Struct rustc_lint::early::RuntimeCombinedEarlyLintPass
source · struct RuntimeCombinedEarlyLintPass<'a> {
passes: &'a mut [Box<dyn EarlyLintPass + 'static>],
}
Fields§
§passes: &'a mut [Box<dyn EarlyLintPass + 'static>]
Trait Implementations§
source§impl EarlyLintPass for RuntimeCombinedEarlyLintPass<'_>
impl EarlyLintPass for RuntimeCombinedEarlyLintPass<'_>
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 RuntimeCombinedEarlyLintPass<'a>
impl<'a> !Send for RuntimeCombinedEarlyLintPass<'a>
impl<'a> !Sync for RuntimeCombinedEarlyLintPass<'a>
impl<'a> Unpin for RuntimeCombinedEarlyLintPass<'a>
impl<'a> !UnwindSafe for RuntimeCombinedEarlyLintPass<'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