@@ -4,7 +4,11 @@ error: non-binding `let` without a type annotation
4
4
LL | let _ = a();
5
5
| ^^^^^^^^^^^^
6
6
|
7
- = help: consider adding a type annotation or removing the `let` keyword
7
+ help: consider adding a type annotation
8
+ --> $DIR/let_underscore_untyped.rs:36:10
9
+ |
10
+ LL | let _ = a();
11
+ | ^
8
12
= note: `-D clippy::let-underscore-untyped` implied by `-D warnings`
9
13
10
14
error: non-binding `let` without a type annotation
@@ -13,31 +17,47 @@ error: non-binding `let` without a type annotation
13
17
LL | let _ = b(1);
14
18
| ^^^^^^^^^^^^^
15
19
|
16
- = help: consider adding a type annotation or removing the `let` keyword
20
+ help: consider adding a type annotation
21
+ --> $DIR/let_underscore_untyped.rs:37:10
22
+ |
23
+ LL | let _ = b(1);
24
+ | ^
17
25
18
26
error: non-binding `let` without a type annotation
19
27
--> $DIR/let_underscore_untyped.rs:39:5
20
28
|
21
29
LL | let _ = d(&1);
22
30
| ^^^^^^^^^^^^^^
23
31
|
24
- = help: consider adding a type annotation or removing the `let` keyword
32
+ help: consider adding a type annotation
33
+ --> $DIR/let_underscore_untyped.rs:39:10
34
+ |
35
+ LL | let _ = d(&1);
36
+ | ^
25
37
26
38
error: non-binding `let` without a type annotation
27
39
--> $DIR/let_underscore_untyped.rs:40:5
28
40
|
29
41
LL | let _ = e();
30
42
| ^^^^^^^^^^^^
31
43
|
32
- = help: consider adding a type annotation or removing the `let` keyword
44
+ help: consider adding a type annotation
45
+ --> $DIR/let_underscore_untyped.rs:40:10
46
+ |
47
+ LL | let _ = e();
48
+ | ^
33
49
34
50
error: non-binding `let` without a type annotation
35
51
--> $DIR/let_underscore_untyped.rs:41:5
36
52
|
37
53
LL | let _ = f();
38
54
| ^^^^^^^^^^^^
39
55
|
40
- = help: consider adding a type annotation or removing the `let` keyword
56
+ help: consider adding a type annotation
57
+ --> $DIR/let_underscore_untyped.rs:41:10
58
+ |
59
+ LL | let _ = f();
60
+ | ^
41
61
42
62
error: aborting due to 5 previous errors
43
63
0 commit comments