[][src]Crate rustc_lint

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Lints in the Rust compiler

This currently only contains the definitions and implementations of most of the lints that rustc supports directly, it does not contain the infrastructure for defining/registering lints. That is available in rustc::lint and rustc_driver::plugin respectively.

Note

This API is completely unstable and subject to change.

Re-exports

pub use builtin::SoftLints;

Modules

builtinInternal

Lints in the Rust compiler.

error_codesInternal
non_ascii_identsInternal
nonstandard_styleInternal
redundant_semicolonInternal
typesInternal
unusedInternal

Structs

BuiltinCombinedEarlyLintPassInternal
BuiltinCombinedLateLintPassInternal
BuiltinCombinedModuleLateLintPassInternal
BuiltinCombinedPreExpansionLintPassInternal

Functions

lint_modInternal
provideInternal
register_builtinsInternal

Tell the LintStore about all the built-in lints (the ones defined in this crate and the ones defined in rustc::lint::builtin).

register_internalsInternal