Struct rustc_lint::lint::GatherNodeLevelsUnstable
[-] [+]
[src]
pub struct GatherNodeLevels;
pub struct GatherNodeLevels;
impl LintPass for GatherNodeLevels
fn get_lints(&self) -> &'static [&'static &'static Lint]
fn check_item(&mut self, cx: &Context, it: &Item)
fn check_crate(&mut self, &Context, &Crate)
fn check_ident(&mut self, &Context, Span, Ident)
fn check_mod(&mut self, &Context, &Mod, Span, u32)
fn check_foreign_item(&mut self, &Context, &ForeignItem)
fn check_local(&mut self, &Context, &Local)
fn check_block(&mut self, &Context, &Block)
fn check_stmt(&mut self, &Context, &Spanned<Stmt_>)
fn check_arm(&mut self, &Context, &Arm)
fn check_pat(&mut self, &Context, &Pat)
fn check_decl(&mut self, &Context, &Spanned<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, u32)
fn check_trait_item(&mut self, &Context, &TraitItem)
fn check_impl_item(&mut self, &Context, &ImplItem)
fn check_struct_def(&mut self, &Context, &StructDef, Ident, &Generics, u32)
fn check_struct_def_post(&mut self, &Context, &StructDef, Ident, &Generics, u32)
fn check_struct_field(&mut self, &Context, &Spanned<StructField_>)
fn check_variant(&mut self, &Context, &Spanned<Variant_>, &Generics)
fn check_variant_post(&mut self, &Context, &Spanned<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, &Spanned<ExplicitSelf_>)
fn check_mac(&mut self, &Context, &Spanned<Mac_>)
fn check_path(&mut self, &Context, &Path, u32)
fn check_attribute(&mut self, &Context, &Spanned<Attribute_>)
fn enter_lint_attrs(&mut self, &Context, &[Spanned<Attribute_>])
fn exit_lint_attrs(&mut self, &Context, &[Spanned<Attribute_>])
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
).