[][src]Macro rustc_ap_rustc_session::declare_lint_pass

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

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