pub static WARNINGS: &'static Lint
Expand description

The warnings lint allows you to change the level of other lints which produce warnings.

§Example

#![deny(warnings)]
fn foo() {}

{{produces}}

§Explanation

The warnings lint is a bit special; by changing its level, you change every other warning that would produce a warning to whatever value you’d like. As such, you won’t ever trigger this lint in your code directly.