Macro rustc_lint_defs::declare_lint_pass

source ยท
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.