]> git.lizzy.rs Git - rust.git/blob - tests/ui/let_unit.stderr
Auto merge of #3635 - matthiaskrgr:revert_random_state_3603, r=xfix
[rust.git] / tests / ui / let_unit.stderr
1 error: this let-binding has unit value. Consider omitting `let _x =`
2   --> $DIR/let_unit.rs:20:5
3    |
4 LL |     let _x = println!("x");
5    |     ^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D clippy::let-unit-value` implied by `-D warnings`
8
9 error: this let-binding has unit value. Consider omitting `let _a =`
10   --> $DIR/let_unit.rs:24:9
11    |
12 LL |         let _a = ();
13    |         ^^^^^^^^^^^^
14
15 error: aborting due to 2 previous errors
16