macro_rules! declare_lint {
($vis: vis $NAME: ident, $Level: ident, $desc: expr) => { ... };
($vis: vis $NAME: ident, $Level: ident, $desc: expr,
$(@future_incompatible = $fi:expr;)?
$(@feature_gate = $gate:expr;)?
$($v:ident),*) => { ... };
($vis: vis $NAME: ident, $Level: ident, $desc: expr,
$lint_edition: expr => $edition_level: ident
) => { ... };
}
Declares a static item of type &'static Lint
.