Detects path statements with no effect. It is usually a mistake to have a statement that has no effect. Corresponds to the path_statements Rust lint.