Static rustc_lint::unused::PATH_STATEMENTS [−][src]
pub static PATH_STATEMENTS: &LintExpand description
The path_statements lint detects path statements with no effect.
Example
let x = 42;
x;{{produces}}
Explanation
It is usually a mistake to have a statement that has no effect.