Macro rustc_ap_rustc_session::declare_lint_pass[][src]

macro_rules! declare_lint_pass {
    ($(#[$m : meta]) * $name : ident => [$($lint : expr), * $(,) ?]) => { ... };
}
Expand description

Declares a type named $name which implements LintPass. To the right of => a comma separated list of Lint statics is given.