Module rustc::lint::builtinUnstable [-] [+] [src]

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.

Structs

HardwiredLints

Does nothing as a lint pass, but registers some Lints which are used by other parts of the compiler.

Statics

DEAD_CODE
FAT_PTR_TRANSMUTES
STABLE_FEATURES
TRIVIAL_CASTS
TRIVIAL_NUMERIC_CASTS
UNKNOWN_CRATE_TYPES
UNKNOWN_LINTS
UNREACHABLE_CODE
UNUSED_ASSIGNMENTS
UNUSED_EXTERN_CRATES
UNUSED_FEATURES
UNUSED_IMPORTS
UNUSED_QUALIFICATIONS
UNUSED_VARIABLES
VARIANT_SIZE_DIFFERENCES
WARNINGS