[][src]Static rustc_ap_rustc_session::lint::builtin::UNKNOWN_LINTS

pub static  UNKNOWN_LINTS: &Lint

The unknown_lints lint detects unrecognized lint attribute.

Example

#![allow(not_a_real_lint)]

{{produces}}

Explanation

It is usually a mistake to specify a lint that does not exist. Check the spelling, and check the lint listing for the correct name. Also consider if you are using an old version of the compiler, and the lint is only available in a newer version.