Module rustc::lint::builtin [−][src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Some lints that are built in to the compiler.
These are the built-in lints that are emitted direct in the main
compiler code, rather than using their own custom pass. Those
lints are all available in rustc_lint::builtin
.
Re-exports
use errors::Applicability; |
use errors::DiagnosticBuilder; |
use lint::LintPass; |
use lint::LateLintPass; |
use lint::LintArray; |
use session::Session; |
use syntax::ast; |
use syntax::codemap::Span; |
Structs
HardwiredLints |
[ Experimental ] Does nothing as a lint pass, but registers some |
Enums
BuiltinLintDiagnostics |
[ Experimental ]
|