rustc_lint_defs - Rust (original) (raw)
Crate rustc_lint_defs
Re-exports§
pub use self::[Level](enum.Level.html "enum rustc_lint_defs::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 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.
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 the LintLevelsBuilder
. Expected diagnostics get the lint level Expect
which stores the LintExpectationId
to match it with the actual expectation later on.
Traits§
Functions§
Grammatical tool for displaying messages to end users in a nice form.