Static rustc_lint_defs::builtin::UNKNOWN_LINTS
source · pub static UNKNOWN_LINTS: &Lint
Expand description
The unknown_lints
lint detects unrecognized lint attributes.
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.