|
1 | 1 | error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used. |
2 | | - --> $DIR/used_underscore_binding.rs:25:5 |
| 2 | + --> $DIR/used_underscore_binding.rs:26:5 |
3 | 3 | | |
4 | 4 | LL | _foo + 1 |
5 | 5 | | ^^^^ |
6 | 6 | | |
7 | 7 | = note: `-D clippy::used-underscore-binding` implied by `-D warnings` |
8 | 8 |
|
9 | 9 | error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used. |
10 | | - --> $DIR/used_underscore_binding.rs:30:20 |
| 10 | + --> $DIR/used_underscore_binding.rs:31:20 |
11 | 11 | | |
12 | 12 | LL | println!("{}", _foo); |
13 | 13 | | ^^^^ |
14 | 14 |
|
15 | 15 | error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used. |
16 | | - --> $DIR/used_underscore_binding.rs:31:16 |
| 16 | + --> $DIR/used_underscore_binding.rs:32:16 |
17 | 17 | | |
18 | 18 | LL | assert_eq!(_foo, _foo); |
19 | 19 | | ^^^^ |
20 | 20 |
|
21 | 21 | error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used. |
22 | | - --> $DIR/used_underscore_binding.rs:31:22 |
| 22 | + --> $DIR/used_underscore_binding.rs:32:22 |
23 | 23 | | |
24 | 24 | LL | assert_eq!(_foo, _foo); |
25 | 25 | | ^^^^ |
26 | 26 |
|
27 | 27 | error: used binding `_underscore_field` which is prefixed with an underscore. A leading underscore signals that a binding will not be used. |
28 | | - --> $DIR/used_underscore_binding.rs:44:5 |
| 28 | + --> $DIR/used_underscore_binding.rs:45:5 |
29 | 29 | | |
30 | 30 | LL | s._underscore_field += 1; |
31 | 31 | | ^^^^^^^^^^^^^^^^^^^ |
32 | 32 |
|
33 | | -error: aborting due to 5 previous errors |
| 33 | +error: used binding `_i` which is prefixed with an underscore. A leading underscore signals that a binding will not be used. |
| 34 | + --> $DIR/used_underscore_binding.rs:100:16 |
| 35 | + | |
| 36 | +LL | uses_i(_i); |
| 37 | + | ^^ |
| 38 | + |
| 39 | +error: aborting due to 6 previous errors |
34 | 40 |
|
0 commit comments