Crate rustc_lint [−] [src]

Unstable

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.

metadata [Unstable]
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).