|
1 | 1 | error: variable declared with type underscore
|
2 |
| - --> $DIR/let_with_type_underscore.rs:11:5 |
| 2 | + --> $DIR/let_with_type_underscore.rs:15:5 |
3 | 3 | |
|
4 | 4 | LL | let x: _ = 1;
|
5 | 5 | | ^^^^^^^^^^^^^
|
6 | 6 | |
|
7 | 7 | help: remove the explicit type `_` declaration
|
8 |
| - --> $DIR/let_with_type_underscore.rs:11:10 |
| 8 | + --> $DIR/let_with_type_underscore.rs:15:10 |
9 | 9 | |
|
10 | 10 | LL | let x: _ = 1;
|
11 | 11 | | ^^^
|
12 | 12 | = note: `-D clippy::let-with-type-underscore` implied by `-D warnings`
|
13 | 13 |
|
14 | 14 | error: variable declared with type underscore
|
15 |
| - --> $DIR/let_with_type_underscore.rs:12:5 |
| 15 | + --> $DIR/let_with_type_underscore.rs:16:5 |
16 | 16 | |
|
17 | 17 | LL | let _: _ = 2;
|
18 | 18 | | ^^^^^^^^^^^^^
|
19 | 19 | |
|
20 | 20 | help: remove the explicit type `_` declaration
|
21 |
| - --> $DIR/let_with_type_underscore.rs:12:10 |
| 21 | + --> $DIR/let_with_type_underscore.rs:16:10 |
22 | 22 | |
|
23 | 23 | LL | let _: _ = 2;
|
24 | 24 | | ^^^
|
25 | 25 |
|
26 | 26 | error: variable declared with type underscore
|
27 |
| - --> $DIR/let_with_type_underscore.rs:13:5 |
| 27 | + --> $DIR/let_with_type_underscore.rs:17:5 |
28 | 28 | |
|
29 | 29 | LL | let x: _ = func();
|
30 | 30 | | ^^^^^^^^^^^^^^^^^^
|
31 | 31 | |
|
32 | 32 | help: remove the explicit type `_` declaration
|
33 |
| - --> $DIR/let_with_type_underscore.rs:13:10 |
| 33 | + --> $DIR/let_with_type_underscore.rs:17:10 |
34 | 34 | |
|
35 | 35 | LL | let x: _ = func();
|
36 | 36 | | ^^^
|
37 | 37 |
|
38 |
| -error: aborting due to 3 previous errors |
| 38 | +error: variable declared with type underscore |
| 39 | + --> $DIR/let_with_type_underscore.rs:18:5 |
| 40 | + | |
| 41 | +LL | let x: _; |
| 42 | + | ^^^^^^^^^ |
| 43 | + | |
| 44 | +help: remove the explicit type `_` declaration |
| 45 | + --> $DIR/let_with_type_underscore.rs:18:10 |
| 46 | + | |
| 47 | +LL | let x: _; |
| 48 | + | ^^^ |
| 49 | + |
| 50 | +error: variable declared with type underscore |
| 51 | + --> $DIR/let_with_type_underscore.rs:25:5 |
| 52 | + | |
| 53 | +LL | let x : _ = 1; |
| 54 | + | ^^^^^^^^^^^^^^ |
| 55 | + | |
| 56 | +help: remove the explicit type `_` declaration |
| 57 | + --> $DIR/let_with_type_underscore.rs:25:10 |
| 58 | + | |
| 59 | +LL | let x : _ = 1; |
| 60 | + | ^^^^ |
| 61 | + |
| 62 | +error: aborting due to 5 previous errors |
39 | 63 |
|
0 commit comments