Crate rustc_ap_rustc_lint_defs[][src]


pub use self::Level::*;


Some lints that are built in to the compiler.


Declares a static item of type &'static Lint.

Declares a type named $name which implements LintPass. To the right of => a comma separated list of Lint statics is given.

Implements LintPass for $ty with the given list of Lint statics.

Declares a static LintArray and return it as an expression.


Lints that are buffered up early on in the Session before the LintLevels is calculated.

Extra information for a future incompatibility lint.

Specification of a single lint.

Identifies a lint known to the compiler.


Indicates the confidence in the correctness of a suggestion.

The reason for future incompatibility

Setting for how to handle a lint.


Type Definitions