Crate rustc_lint [] [src]

Unstable (rustc_private)

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 [Unstable]

Lints, aka compiler warnings.

middle [Unstable]
session [Unstable]
util [Unstable]

Functions

register_builtins [Unstable]

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