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
$name
which implementsLintPass
. To the right of=>
a comma separated list ofLint
statics is given. - declare_
tool_ lint - impl_
lint_ pass - Implements
LintPass for $ty
with the given list ofLint
statics. - pluralize
Structs§
- Ambiguity
Error Diag - Buffered
Early Lint - Lints that are buffered up early on in the
Session
before theLintLevels
is 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.)
- Elided
Lifetime Resolution - Future
Incompatibility Reason - The reason for future incompatibility
- Level
- Setting for how to handle a lint.
- Lint
Expectation Id - 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.
Traits§
Functions§
- listify
- Grammatical tool for displaying messages to end users in a nice form.