[][src]Macro rustc_ap_rustc_session::declare_lint

macro_rules! declare_lint {
    ($vis: vis $NAME: ident, $Level: ident, $desc: expr) => { ... };
    ($vis: vis $NAME: ident, $Level: ident, $desc: expr,
     $(@future_incompatible = $fi: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.