Struct rustc::lint::builtin::NonShorthandFieldPatternsExperimental
[-]
[+]
[src]
pub struct NonShorthandFieldPatterns;
pub struct NonShorthandFieldPatterns;
impl LintPass for NonShorthandFieldPatternsfn get_lints(&self) -> LintArrayfn check_pat(&mut self, cx: &Context, pat: &Pat)fn check_crate(&mut self, _: &Context, _: &Crate)fn check_ident(&mut self, _: &Context, _: Span, _: Ident)fn check_mod(&mut self, _: &Context, _: &Mod, _: Span, _: NodeId)fn check_view_item(&mut self, _: &Context, _: &ViewItem)fn check_foreign_item(&mut self, _: &Context, _: &ForeignItem)fn check_item(&mut self, _: &Context, _: &Item)fn check_local(&mut self, _: &Context, _: &Local)fn check_block(&mut self, _: &Context, _: &Block)fn check_stmt(&mut self, _: &Context, _: &Stmt)fn check_arm(&mut self, _: &Context, _: &Arm)fn check_decl(&mut self, _: &Context, _: &Decl)fn check_expr(&mut self, _: &Context, _: &Expr)fn check_expr_post(&mut self, _: &Context, _: &Expr)fn check_ty(&mut self, _: &Context, _: &Ty)fn check_generics(&mut self, _: &Context, _: &Generics)fn check_fn(&mut self, _: &Context, _: FnKind, _: &FnDecl, _: &Block, _: Span, _: NodeId)fn check_ty_method(&mut self, _: &Context, _: &TypeMethod)fn check_trait_method(&mut self, _: &Context, _: &TraitItem)fn check_struct_def(&mut self, _: &Context, _: &StructDef, _: Ident, _: &Generics, _: NodeId)fn check_struct_def_post(&mut self, _: &Context, _: &StructDef, _: Ident, _: &Generics, _: NodeId)fn check_struct_field(&mut self, _: &Context, _: &StructField)fn check_variant(&mut self, _: &Context, _: &Variant, _: &Generics)fn check_variant_post(&mut self, _: &Context, _: &Variant, _: &Generics)fn check_opt_lifetime_ref(&mut self, _: &Context, _: Span, _: &Option<Lifetime>)fn check_lifetime_ref(&mut self, _: &Context, _: &Lifetime)fn check_lifetime_def(&mut self, _: &Context, _: &LifetimeDef)fn check_explicit_self(&mut self, _: &Context, _: &ExplicitSelf)fn check_mac(&mut self, _: &Context, _: &Mac)fn check_path(&mut self, _: &Context, _: &Path, _: NodeId)fn check_attribute(&mut self, _: &Context, _: &Attribute)fn enter_lint_attrs(&mut self, _: &Context, _: &[Attribute])fn exit_lint_attrs(&mut self, _: &Context, _: &[Attribute])impl Copy for NonShorthandFieldPatterns
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).