Re-exports§
pub use self::Level::*;
Modules§
- Some lints that are built in to the compiler.
Macros§
- Declares a static item of type
&'static Lint
. - Declares a type named
$name
which implementsLintPass
. To the right of=>
a comma separated list ofLint
statics is given. - Implements
LintPass for $ty
with the given list ofLint
statics.
Structs§
- Lints that are buffered up early on in the
Session
before theLintLevels
is calculated. - Extra information for a future incompatibility lint.
- Specification of a single lint.
- Identifies a lint known to the compiler.
Enums§
- Indicates the confidence in the correctness of a suggestion.
- The edition of the compiler. (See RFC 2052.)
- The reason for future incompatibility
- Setting for how to handle a lint.
- Each lint expectation has a
LintExpectationId
assigned by theLintLevelsBuilder
. Expected diagnostics get the lint levelExpect
which stores theLintExpectationId
to match it with the actual expectation later on.