[][src]Macro rustc::declare_lint

macro_rules! declare_lint {
    ($vis: vis $NAME: ident, $Level: ident, $desc: expr) => { ... };
    ($vis: vis $NAME: ident, $Level: ident, $desc: expr, report_in_external_macro: $rep: expr) => { ... };
    ($vis: vis $NAME: ident, $Level: ident, $desc: expr, $external: expr) => { ... };
    ($vis: vis $NAME: ident, $Level: ident, $desc: expr,
     $lint_edition: expr => $edition_level: ident
    ) => { ... };
}
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Declares a static item of type &'static Lint.