1 error: this let-binding has unit value. Consider omitting `let _x =`
2 --> $DIR/let_unit.rs:14:5
4 14 | let _x = println!("x"); //~ERROR this let-binding has unit value
5 | ^^^^^^^^^^^^^^^^^^^^^^^
7 note: lint level defined here
8 --> $DIR/let_unit.rs:4:9
10 4 | #![deny(let_unit_value)]
13 error: this let-binding has unit value. Consider omitting `let _a =`
14 --> $DIR/let_unit.rs:18:9
16 18 | let _a = (); //~ERROR this let-binding has unit value
19 error: aborting due to 2 previous errors