]>
Commit | Line | Data |
---|---|---|
9ffffee4 | 1 | error: non-binding `let` without a type annotation |
add651ee | 2 | --> $DIR/let_underscore_untyped.rs:51:5 |
9ffffee4 FG |
3 | | |
4 | LL | let _ = a(); | |
5 | | ^^^^^^^^^^^^ | |
6 | | | |
49aad941 | 7 | help: consider adding a type annotation |
add651ee | 8 | --> $DIR/let_underscore_untyped.rs:51:10 |
49aad941 FG |
9 | | |
10 | LL | let _ = a(); | |
11 | | ^ | |
9ffffee4 | 12 | = note: `-D clippy::let-underscore-untyped` implied by `-D warnings` |
781aab86 | 13 | = help: to override `-D warnings` add `#[allow(clippy::let_underscore_untyped)]` |
9ffffee4 FG |
14 | |
15 | error: non-binding `let` without a type annotation | |
add651ee | 16 | --> $DIR/let_underscore_untyped.rs:52:5 |
9ffffee4 FG |
17 | | |
18 | LL | let _ = b(1); | |
19 | | ^^^^^^^^^^^^^ | |
20 | | | |
49aad941 | 21 | help: consider adding a type annotation |
add651ee | 22 | --> $DIR/let_underscore_untyped.rs:52:10 |
9ffffee4 | 23 | | |
49aad941 FG |
24 | LL | let _ = b(1); |
25 | | ^ | |
9ffffee4 FG |
26 | |
27 | error: non-binding `let` without a type annotation | |
add651ee | 28 | --> $DIR/let_underscore_untyped.rs:54:5 |
9ffffee4 FG |
29 | | |
30 | LL | let _ = d(&1); | |
31 | | ^^^^^^^^^^^^^^ | |
32 | | | |
49aad941 | 33 | help: consider adding a type annotation |
add651ee | 34 | --> $DIR/let_underscore_untyped.rs:54:10 |
49aad941 FG |
35 | | |
36 | LL | let _ = d(&1); | |
37 | | ^ | |
9ffffee4 FG |
38 | |
39 | error: non-binding `let` without a type annotation | |
add651ee | 40 | --> $DIR/let_underscore_untyped.rs:55:5 |
9ffffee4 FG |
41 | | |
42 | LL | let _ = e(); | |
43 | | ^^^^^^^^^^^^ | |
44 | | | |
49aad941 | 45 | help: consider adding a type annotation |
add651ee | 46 | --> $DIR/let_underscore_untyped.rs:55:10 |
49aad941 FG |
47 | | |
48 | LL | let _ = e(); | |
49 | | ^ | |
9ffffee4 FG |
50 | |
51 | error: non-binding `let` without a type annotation | |
add651ee | 52 | --> $DIR/let_underscore_untyped.rs:56:5 |
9ffffee4 FG |
53 | | |
54 | LL | let _ = f(); | |
55 | | ^^^^^^^^^^^^ | |
56 | | | |
49aad941 | 57 | help: consider adding a type annotation |
add651ee | 58 | --> $DIR/let_underscore_untyped.rs:56:10 |
49aad941 FG |
59 | | |
60 | LL | let _ = f(); | |
61 | | ^ | |
9ffffee4 | 62 | |
49aad941 | 63 | error: aborting due to 5 previous errors |
9ffffee4 | 64 |