1 error: this let-binding has unit value
2 --> $DIR/let_unit.rs:14:5
4 LL | let _x = println!("x");
5 | ^^^^^^^^^^^^^^^^^^^^^^^ help: omit the `let` binding: `println!("x");`
7 = note: `-D clippy::let-unit-value` implied by `-D warnings`
9 error: this let-binding has unit value
10 --> $DIR/let_unit.rs:18:9
13 | ^^^^^^^^^^^^ help: omit the `let` binding: `();`
15 error: this let-binding has unit value
16 --> $DIR/let_unit.rs:53:5
20 LL | | .map(|i| i * 2)
21 LL | | .filter(|i| i % 2 == 0)
25 | |__________________^
27 help: omit the `let` binding
32 LL | .filter(|i| i % 2 == 0)
37 error: aborting due to 3 previous errors