Struct clippy_lints::enum_variants::EnumVariantNames
[−]
[src]
pub struct EnumVariantNames { /* fields omitted */ }
Methods
impl EnumVariantNames
[src]
fn new(threshold: u64) -> EnumVariantNames
Trait Implementations
impl LintPass for EnumVariantNames
[src]
fn get_lints(&self) -> LintArray
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Get descriptions of the lints this LintPass
object can emit. Read more
impl EarlyLintPass for EnumVariantNames
[src]
fn check_item_post(&mut self, _cx: &EarlyContext, _item: &Item)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_item(&mut self, cx: &EarlyContext, item: &Item)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_ident(&mut self, &EarlyContext, Span, Ident)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_crate(&mut self, &EarlyContext, &Crate)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_crate_post(&mut self, &EarlyContext, &Crate)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_mod(&mut self, &EarlyContext, &Mod, Span, NodeId)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_mod_post(&mut self, &EarlyContext, &Mod, Span, NodeId)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_foreign_item(&mut self, &EarlyContext, &ForeignItem)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_foreign_item_post(&mut self, &EarlyContext, &ForeignItem)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_local(&mut self, &EarlyContext, &Local)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_block(&mut self, &EarlyContext, &Block)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_block_post(&mut self, &EarlyContext, &Block)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_stmt(&mut self, &EarlyContext, &Stmt)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_arm(&mut self, &EarlyContext, &Arm)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_pat(&mut self, &EarlyContext, &Pat)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_expr(&mut self, &EarlyContext, &Expr)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_expr_post(&mut self, &EarlyContext, &Expr)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_ty(&mut self, &EarlyContext, &Ty)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_generics(&mut self, &EarlyContext, &Generics)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_fn(&mut self, &EarlyContext, FnKind, &FnDecl, Span, NodeId)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_fn_post(&mut self, &EarlyContext, FnKind, &FnDecl, Span, NodeId)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_trait_item(&mut self, &EarlyContext, &TraitItem)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_trait_item_post(&mut self, &EarlyContext, &TraitItem)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_impl_item(&mut self, &EarlyContext, &ImplItem)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_impl_item_post(&mut self, &EarlyContext, &ImplItem)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_struct_def(
&mut self,
&EarlyContext,
&VariantData,
Ident,
&Generics,
NodeId
)
&mut self,
&EarlyContext,
&VariantData,
Ident,
&Generics,
NodeId
)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_struct_def_post(
&mut self,
&EarlyContext,
&VariantData,
Ident,
&Generics,
NodeId
)
&mut self,
&EarlyContext,
&VariantData,
Ident,
&Generics,
NodeId
)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_struct_field(&mut self, &EarlyContext, &StructField)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_variant(&mut self, &EarlyContext, &Spanned<Variant_>, &Generics)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_variant_post(&mut self, &EarlyContext, &Spanned<Variant_>, &Generics)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_lifetime(&mut self, &EarlyContext, &Lifetime)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_lifetime_def(&mut self, &EarlyContext, &LifetimeDef)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_path(&mut self, &EarlyContext, &Path, NodeId)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_path_list_item(&mut self, &EarlyContext, &Spanned<PathListItem_>)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn check_attribute(&mut self, &EarlyContext, &Attribute)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn enter_lint_attrs(&mut self, &EarlyContext, &[Attribute])
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Called when entering a syntax node that can have lint attributes such as #[allow(...)]
. Called with all the attributes of that node. Read more
fn exit_lint_attrs(&mut self, &EarlyContext, &[Attribute])
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Counterpart to enter_lint_attrs
.