Macro declare_lint_pass
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.