@@ -4,7 +4,11 @@ error: non-binding `let` without a type annotation
44LL | let _ = a();
55 | ^^^^^^^^^^^^
66 |
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+ | ^
812 = note: `-D clippy::let-underscore-untyped` implied by `-D warnings`
913
1014error: non-binding `let` without a type annotation
@@ -13,31 +17,47 @@ error: non-binding `let` without a type annotation
1317LL | let _ = b(1);
1418 | ^^^^^^^^^^^^^
1519 |
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+ | ^
1725
1826error: non-binding `let` without a type annotation
1927 --> $DIR/let_underscore_untyped.rs:39:5
2028 |
2129LL | let _ = d(&1);
2230 | ^^^^^^^^^^^^^^
2331 |
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+ | ^
2537
2638error: non-binding `let` without a type annotation
2739 --> $DIR/let_underscore_untyped.rs:40:5
2840 |
2941LL | let _ = e();
3042 | ^^^^^^^^^^^^
3143 |
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+ | ^
3349
3450error: non-binding `let` without a type annotation
3551 --> $DIR/let_underscore_untyped.rs:41:5
3652 |
3753LL | let _ = f();
3854 | ^^^^^^^^^^^^
3955 |
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+ | ^
4161
4262error: aborting due to 5 previous errors
4363
0 commit comments