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§
- AmbiguityError Diag 
- FutureIncompatible Info 
- Extra information for a future incompatibility lint.
- Lint
- Specification of a single lint.
- LintId
- Identifies a lint known to the compiler.
Enums§
- Applicability
- Indicates the confidence in the correctness of a suggestion.
- BuiltinLint Diag 
- DeprecatedSince Kind 
- Edition
- The edition of the compiler. (See RFC 2052.)
- FutureIncompatibility Reason 
- The reason for future incompatibility
- Level
- Setting for how to handle a lint.
- LintExpectation 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.