[][src]Trait rustc::lint::EarlyLintPass

pub trait EarlyLintPass: LintPass {
    fn check_ident(&mut self, _: &EarlyContext, _: Ident) { ... }
fn check_crate(&mut self, _: &EarlyContext, _: &Crate) { ... }
fn check_crate_post(&mut self, _: &EarlyContext, _: &Crate) { ... }
fn check_mod(&mut self, _: &EarlyContext, _: &Mod, _: Span, _: NodeId) { ... }
fn check_mod_post(&mut self, _: &EarlyContext, _: &Mod, _: Span, _: NodeId) { ... }
fn check_foreign_item(&mut self, _: &EarlyContext, _: &ForeignItem) { ... }
fn check_foreign_item_post(&mut self, _: &EarlyContext, _: &ForeignItem) { ... }
fn check_item(&mut self, _: &EarlyContext, _: &Item) { ... }
fn check_item_post(&mut self, _: &EarlyContext, _: &Item) { ... }
fn check_local(&mut self, _: &EarlyContext, _: &Local) { ... }
fn check_block(&mut self, _: &EarlyContext, _: &Block) { ... }
fn check_block_post(&mut self, _: &EarlyContext, _: &Block) { ... }
fn check_stmt(&mut self, _: &EarlyContext, _: &Stmt) { ... }
fn check_arm(&mut self, _: &EarlyContext, _: &Arm) { ... }
fn check_pat(&mut self, _: &EarlyContext, _: &Pat) { ... }
fn check_pat_post(&mut self, _: &EarlyContext, _: &Pat) { ... }
fn check_expr(&mut self, _: &EarlyContext, _: &Expr) { ... }
fn check_expr_post(&mut self, _: &EarlyContext, _: &Expr) { ... }
fn check_ty(&mut self, _: &EarlyContext, _: &Ty) { ... }
fn check_generic_param(&mut self, _: &EarlyContext, _: &GenericParam) { ... }
fn check_generics(&mut self, _: &EarlyContext, _: &Generics) { ... }
fn check_where_predicate(&mut self, _: &EarlyContext, _: &WherePredicate) { ... }
fn check_poly_trait_ref(
        &mut self,
        _: &EarlyContext,
        _: &PolyTraitRef,
        _: &TraitBoundModifier
    ) { ... }
fn check_fn(
        &mut self,
        _: &EarlyContext,
        _: FnKind,
        _: &FnDecl,
        _: Span,
        _: NodeId
    ) { ... }
fn check_fn_post(
        &mut self,
        _: &EarlyContext,
        _: FnKind,
        _: &FnDecl,
        _: Span,
        _: NodeId
    ) { ... }
fn check_trait_item(&mut self, _: &EarlyContext, _: &TraitItem) { ... }
fn check_trait_item_post(&mut self, _: &EarlyContext, _: &TraitItem) { ... }
fn check_impl_item(&mut self, _: &EarlyContext, _: &ImplItem) { ... }
fn check_impl_item_post(&mut self, _: &EarlyContext, _: &ImplItem) { ... }
fn check_struct_def(
        &mut self,
        _: &EarlyContext,
        _: &VariantData,
        _: Ident,
        _: &Generics,
        _: NodeId
    ) { ... }
fn check_struct_def_post(
        &mut self,
        _: &EarlyContext,
        _: &VariantData,
        _: Ident,
        _: &Generics,
        _: NodeId
    ) { ... }
fn check_struct_field(&mut self, _: &EarlyContext, _: &StructField) { ... }
fn check_variant(&mut self, _: &EarlyContext, _: &Variant, _: &Generics) { ... }
fn check_variant_post(
        &mut self,
        _: &EarlyContext,
        _: &Variant,
        _: &Generics
    ) { ... }
fn check_lifetime(&mut self, _: &EarlyContext, _: &Lifetime) { ... }
fn check_path(&mut self, _: &EarlyContext, _: &Path, _: NodeId) { ... }
fn check_attribute(&mut self, _: &EarlyContext, _: &Attribute) { ... }
fn check_mac_def(&mut self, _: &EarlyContext, _: &MacroDef, _: NodeId) { ... }
fn check_mac(&mut self, _: &EarlyContext, _: &Mac) { ... }
fn enter_lint_attrs(&mut self, _: &EarlyContext, _: &[Attribute]) { ... }
fn exit_lint_attrs(&mut self, _: &EarlyContext, _: &[Attribute]) { ... } }
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Provided methods

fn check_ident(&mut self, _: &EarlyContext, _: Ident)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_crate(&mut self, _: &EarlyContext, _: &Crate)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_crate_post(&mut self, _: &EarlyContext, _: &Crate)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_mod(&mut self, _: &EarlyContext, _: &Mod, _: Span, _: NodeId)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_mod_post(&mut self, _: &EarlyContext, _: &Mod, _: Span, _: NodeId)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_foreign_item(&mut self, _: &EarlyContext, _: &ForeignItem)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_foreign_item_post(&mut self, _: &EarlyContext, _: &ForeignItem)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_item(&mut self, _: &EarlyContext, _: &Item)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_item_post(&mut self, _: &EarlyContext, _: &Item)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_local(&mut self, _: &EarlyContext, _: &Local)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_block(&mut self, _: &EarlyContext, _: &Block)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_block_post(&mut self, _: &EarlyContext, _: &Block)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_stmt(&mut self, _: &EarlyContext, _: &Stmt)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_arm(&mut self, _: &EarlyContext, _: &Arm)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_pat(&mut self, _: &EarlyContext, _: &Pat)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_pat_post(&mut self, _: &EarlyContext, _: &Pat)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_expr(&mut self, _: &EarlyContext, _: &Expr)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_expr_post(&mut self, _: &EarlyContext, _: &Expr)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_ty(&mut self, _: &EarlyContext, _: &Ty)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_generic_param(&mut self, _: &EarlyContext, _: &GenericParam)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_generics(&mut self, _: &EarlyContext, _: &Generics)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_where_predicate(&mut self, _: &EarlyContext, _: &WherePredicate)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_poly_trait_ref(
    &mut self,
    _: &EarlyContext,
    _: &PolyTraitRef,
    _: &TraitBoundModifier
)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_fn(
    &mut self,
    _: &EarlyContext,
    _: FnKind,
    _: &FnDecl,
    _: Span,
    _: NodeId
)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_fn_post(
    &mut self,
    _: &EarlyContext,
    _: FnKind,
    _: &FnDecl,
    _: Span,
    _: NodeId
)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_trait_item(&mut self, _: &EarlyContext, _: &TraitItem)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_trait_item_post(&mut self, _: &EarlyContext, _: &TraitItem)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_impl_item(&mut self, _: &EarlyContext, _: &ImplItem)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_impl_item_post(&mut self, _: &EarlyContext, _: &ImplItem)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_struct_def(
    &mut self,
    _: &EarlyContext,
    _: &VariantData,
    _: Ident,
    _: &Generics,
    _: NodeId
)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_struct_def_post(
    &mut self,
    _: &EarlyContext,
    _: &VariantData,
    _: Ident,
    _: &Generics,
    _: NodeId
)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_struct_field(&mut self, _: &EarlyContext, _: &StructField)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_variant(&mut self, _: &EarlyContext, _: &Variant, _: &Generics)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_variant_post(&mut self, _: &EarlyContext, _: &Variant, _: &Generics)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_lifetime(&mut self, _: &EarlyContext, _: &Lifetime)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_path(&mut self, _: &EarlyContext, _: &Path, _: NodeId)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_attribute(&mut self, _: &EarlyContext, _: &Attribute)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_mac_def(&mut self, _: &EarlyContext, _: &MacroDef, _: NodeId)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_mac(&mut self, _: &EarlyContext, _: &Mac)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn enter_lint_attrs(&mut self, _: &EarlyContext, _: &[Attribute])

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn exit_lint_attrs(&mut self, _: &EarlyContext, _: &[Attribute])

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Loading content...

Implementors

impl EarlyLintPass for DefaultHashTypes[src]

fn check_crate(&mut self, _: &EarlyContext, _: &Crate)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_crate_post(&mut self, _: &EarlyContext, _: &Crate)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_mod(&mut self, _: &EarlyContext, _: &Mod, _: Span, _: NodeId)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_mod_post(&mut self, _: &EarlyContext, _: &Mod, _: Span, _: NodeId)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_foreign_item(&mut self, _: &EarlyContext, _: &ForeignItem)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_foreign_item_post(&mut self, _: &EarlyContext, _: &ForeignItem)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_item(&mut self, _: &EarlyContext, _: &Item)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_item_post(&mut self, _: &EarlyContext, _: &Item)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_local(&mut self, _: &EarlyContext, _: &Local)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_block(&mut self, _: &EarlyContext, _: &Block)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_block_post(&mut self, _: &EarlyContext, _: &Block)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_stmt(&mut self, _: &EarlyContext, _: &Stmt)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_arm(&mut self, _: &EarlyContext, _: &Arm)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_pat(&mut self, _: &EarlyContext, _: &Pat)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_pat_post(&mut self, _: &EarlyContext, _: &Pat)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_expr(&mut self, _: &EarlyContext, _: &Expr)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_expr_post(&mut self, _: &EarlyContext, _: &Expr)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_ty(&mut self, _: &EarlyContext, _: &Ty)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_generic_param(&mut self, _: &EarlyContext, _: &GenericParam)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_generics(&mut self, _: &EarlyContext, _: &Generics)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_where_predicate(&mut self, _: &EarlyContext, _: &WherePredicate)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_poly_trait_ref(
    &mut self,
    _: &EarlyContext,
    _: &PolyTraitRef,
    _: &TraitBoundModifier
)
[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_fn(
    &mut self,
    _: &EarlyContext,
    _: FnKind,
    _: &FnDecl,
    _: Span,
    _: NodeId
)
[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_fn_post(
    &mut self,
    _: &EarlyContext,
    _: FnKind,
    _: &FnDecl,
    _: Span,
    _: NodeId
)
[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_trait_item(&mut self, _: &EarlyContext, _: &TraitItem)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_trait_item_post(&mut self, _: &EarlyContext, _: &TraitItem)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_impl_item(&mut self, _: &EarlyContext, _: &ImplItem)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_impl_item_post(&mut self, _: &EarlyContext, _: &ImplItem)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_struct_def(
    &mut self,
    _: &EarlyContext,
    _: &VariantData,
    _: Ident,
    _: &Generics,
    _: NodeId
)
[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_struct_def_post(
    &mut self,
    _: &EarlyContext,
    _: &VariantData,
    _: Ident,
    _: &Generics,
    _: NodeId
)
[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_struct_field(&mut self, _: &EarlyContext, _: &StructField)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_variant(&mut self, _: &EarlyContext, _: &Variant, _: &Generics)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_variant_post(&mut self, _: &EarlyContext, _: &Variant, _: &Generics)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_lifetime(&mut self, _: &EarlyContext, _: &Lifetime)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_path(&mut self, _: &EarlyContext, _: &Path, _: NodeId)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_attribute(&mut self, _: &EarlyContext, _: &Attribute)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_mac_def(&mut self, _: &EarlyContext, _: &MacroDef, _: NodeId)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn check_mac(&mut self, _: &EarlyContext, _: &Mac)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn enter_lint_attrs(&mut self, _: &EarlyContext, _: &[Attribute])[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn exit_lint_attrs(&mut self, _: &EarlyContext, _: &[Attribute])[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

impl<'_> EarlyLintPass for EarlyLintPassObjects<'_>[src]

Loading content...