Struct rustc_lint::builtin::AnonymousParameters [−][src]
pub struct AnonymousParameters;
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Checks for use of anonymous parameters (RFC 1685)
Trait Implementations
impl Clone for AnonymousParameters[src]
impl Clone for AnonymousParametersfn clone(&self) -> AnonymousParameters[src]
fn clone(&self) -> AnonymousParametersReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl LintPass for AnonymousParameters[src]
impl LintPass for AnonymousParametersfn get_lints(&self) -> LintArray[src]
fn get_lints(&self) -> LintArray🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an 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 AnonymousParameters[src]
impl EarlyLintPass for AnonymousParametersfn check_trait_item(&mut self, cx: &EarlyContext, it: &TraitItem)[src]
fn check_trait_item(&mut self, cx: &EarlyContext, it: &TraitItem)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_ident(&mut self, &EarlyContext, Ident)[src]
fn check_ident(&mut self, &EarlyContext, Ident)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_crate(&mut self, &EarlyContext, &Crate)[src]
fn check_crate(&mut self, &EarlyContext, &Crate)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_crate_post(&mut self, &EarlyContext, &Crate)[src]
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, an 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)[src]
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, an 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)[src]
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, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_foreign_item(&mut self, &EarlyContext, &ForeignItem)[src]
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, an 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)[src]
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, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_item(&mut self, &EarlyContext, &Item)[src]
fn check_item(&mut self, &EarlyContext, &Item)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_item_post(&mut self, &EarlyContext, &Item)[src]
fn check_item_post(&mut self, &EarlyContext, &Item)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_local(&mut self, &EarlyContext, &Local)[src]
fn check_local(&mut self, &EarlyContext, &Local)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_block(&mut self, &EarlyContext, &Block)[src]
fn check_block(&mut self, &EarlyContext, &Block)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_block_post(&mut self, &EarlyContext, &Block)[src]
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, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_stmt(&mut self, &EarlyContext, &Stmt)[src]
fn check_stmt(&mut self, &EarlyContext, &Stmt)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_arm(&mut self, &EarlyContext, &Arm)[src]
fn check_arm(&mut self, &EarlyContext, &Arm)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_pat(&mut self, &EarlyContext, &Pat)[src]
fn check_pat(&mut self, &EarlyContext, &Pat)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_expr(&mut self, &EarlyContext, &Expr)[src]
fn check_expr(&mut self, &EarlyContext, &Expr)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_expr_post(&mut self, &EarlyContext, &Expr)[src]
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, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_ty(&mut self, &EarlyContext, &Ty)[src]
fn check_ty(&mut self, &EarlyContext, &Ty)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_generic_param(&mut self, &EarlyContext, &GenericParam)[src]
fn check_generic_param(&mut self, &EarlyContext, &GenericParam)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_generics(&mut self, &EarlyContext, &Generics)[src]
fn check_generics(&mut self, &EarlyContext, &Generics)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_where_predicate(&mut self, &EarlyContext, &WherePredicate)[src]
fn check_where_predicate(&mut self, &EarlyContext, &WherePredicate)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_poly_trait_ref(
&mut self,
&EarlyContext,
&PolyTraitRef,
&TraitBoundModifier
)[src]
fn check_poly_trait_ref(
&mut self,
&EarlyContext,
&PolyTraitRef,
&TraitBoundModifier
)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an 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)[src]
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, an 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)[src]
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, an 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)[src]
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, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_impl_item(&mut self, &EarlyContext, &ImplItem)[src]
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, an 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)[src]
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, an 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
)[src]
fn check_struct_def(
&mut self,
&EarlyContext,
&VariantData,
Ident,
&Generics,
NodeId
)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an 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
)[src]
fn check_struct_def_post(
&mut self,
&EarlyContext,
&VariantData,
Ident,
&Generics,
NodeId
)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_struct_field(&mut self, &EarlyContext, &StructField)[src]
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, an 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)[src]
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, an 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)[src]
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, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_lifetime(&mut self, &EarlyContext, &Lifetime)[src]
fn check_lifetime(&mut self, &EarlyContext, &Lifetime)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_path(&mut self, &EarlyContext, &Path, NodeId)[src]
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, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_attribute(&mut self, &EarlyContext, &Attribute)[src]
fn check_attribute(&mut self, &EarlyContext, &Attribute)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_mac_def(&mut self, &EarlyContext, &MacroDef, _id: NodeId)[src]
fn check_mac_def(&mut self, &EarlyContext, &MacroDef, _id: NodeId)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_mac(&mut self, &EarlyContext, &Spanned<Mac_>)[src]
fn check_mac(&mut self, &EarlyContext, &Spanned<Mac_>)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn enter_lint_attrs(&mut self, &EarlyContext, &[Attribute])[src]
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, an 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])[src]
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, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Counterpart to enter_lint_attrs.
Auto Trait Implementations
impl Send for AnonymousParameters
impl Send for AnonymousParametersimpl Sync for AnonymousParameters
impl Sync for AnonymousParameters