Crate rustc_lintUnstable[stability] [-] [+] [src]

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::plugin respectively.

Note

This API is completely unstable and subject to change.

Modules

lint

Lints, aka compiler warnings.

metadata
middle
session
util

Functions

register_builtins

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