]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/let_unit.stderr
Update stderr files for change in error reporting
[rust.git] / clippy_tests / examples / let_unit.stderr
1 error: this let-binding has unit value. Consider omitting `let _x =`
2   --> let_unit.rs:14:5
3    |
4 14 |     let _x = println!("x");
5    |     ^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D let-unit-value` implied by `-D warnings`
8
9 error: this let-binding has unit value. Consider omitting `let _a =`
10   --> let_unit.rs:18:9
11    |
12 18 |         let _a = ();
13    |         ^^^^^^^^^^^^
14    |
15    = note: `-D let-unit-value` implied by `-D warnings`
16
17 error: aborting due to previous error(s)
18
19 error: Could not compile `clippy_tests`.
20
21 To learn more, run the command again with --verbose.