rustc_lint_defs::builtinStatic UNUSED_VARIABLES
source pub static UNUSED_VARIABLES: &Lint
Expand description
The unused_variables
lint detects variables which are not used in
any way.
§Example
{{produces}}
§Explanation
Unused variables may signal a mistake or unfinished code. To silence
the warning for the individual variable, prefix it with an underscore
such as _x
.