Re-exports§
pub use self::Level::*;
Modules§
- builtin
- Some lints that are built in to the compiler.
Macros§
- declare_
lint - Declares a static item of type
&'static Lint. - declare_
lint_ pass - Declares a type named
$namewhich implementsLintPass. To the right of=>a comma separated list ofLintstatics is given. - declare_
tool_ lint - impl_
lint_ pass - Implements
LintPass for $tywith the given list ofLintstatics. - pluralize
Structs§
- Ambiguity
Error Diag - Buffered
Early Lint - Lints that are buffered up early on in the
Sessionbefore theLintLevelsis calculated. - Future
Incompatible Info - Extra information for a future incompatibility lint.
- Lint
- Specification of a single lint.
- Lint
Buffer - LintId
- Identifies a lint known to the compiler.
Enums§
- Applicability
- Indicates the confidence in the correctness of a suggestion.
- Builtin
Lint Diag - Deprecated
Since Kind - Edition
- The edition of the compiler. (See RFC 2052.)
- Future
Incompatibility Reason - The reason for future incompatibility
- Level
- Setting for how to handle a lint.
- Lint
Expectation Id - Each lint expectation has a
LintExpectationIdassigned by theLintLevelsBuilder. Expected diagnostics get the lint levelExpectwhich stores theLintExpectationIdto match it with the actual expectation later on.
Traits§
Functions§
- listify
- Grammatical tool for displaying messages to end users in a nice form.