Macro rustc_lint::passes::expand_lint_pass_methods[][src]

macro_rules! expand_lint_pass_methods {
    ($context : ty,
 [$($(#[$attr : meta]) * fn $name : ident($($param : ident : $arg : ty), *) ;)
  *]) => { ... };
}
Expand description

Trait for types providing lint checks.

Each check method checks a single syntax node, and should not invoke methods recursively (unlike Visitor). By default they do nothing.