pub static PATH_STATEMENTS: &'static Lint
Expand 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.