]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/let_underscore_untyped.stderr
New upstream version 1.74.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / let_underscore_untyped.stderr
CommitLineData
9ffffee4 1error: non-binding `let` without a type annotation
add651ee 2 --> $DIR/let_underscore_untyped.rs:51:5
9ffffee4
FG
3 |
4LL | let _ = a();
5 | ^^^^^^^^^^^^
6 |
49aad941 7help: consider adding a type annotation
add651ee 8 --> $DIR/let_underscore_untyped.rs:51:10
49aad941
FG
9 |
10LL | 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
15error: non-binding `let` without a type annotation
add651ee 16 --> $DIR/let_underscore_untyped.rs:52:5
9ffffee4
FG
17 |
18LL | let _ = b(1);
19 | ^^^^^^^^^^^^^
20 |
49aad941 21help: consider adding a type annotation
add651ee 22 --> $DIR/let_underscore_untyped.rs:52:10
9ffffee4 23 |
49aad941
FG
24LL | let _ = b(1);
25 | ^
9ffffee4
FG
26
27error: non-binding `let` without a type annotation
add651ee 28 --> $DIR/let_underscore_untyped.rs:54:5
9ffffee4
FG
29 |
30LL | let _ = d(&1);
31 | ^^^^^^^^^^^^^^
32 |
49aad941 33help: consider adding a type annotation
add651ee 34 --> $DIR/let_underscore_untyped.rs:54:10
49aad941
FG
35 |
36LL | let _ = d(&1);
37 | ^
9ffffee4
FG
38
39error: non-binding `let` without a type annotation
add651ee 40 --> $DIR/let_underscore_untyped.rs:55:5
9ffffee4
FG
41 |
42LL | let _ = e();
43 | ^^^^^^^^^^^^
44 |
49aad941 45help: consider adding a type annotation
add651ee 46 --> $DIR/let_underscore_untyped.rs:55:10
49aad941
FG
47 |
48LL | let _ = e();
49 | ^
9ffffee4
FG
50
51error: non-binding `let` without a type annotation
add651ee 52 --> $DIR/let_underscore_untyped.rs:56:5
9ffffee4
FG
53 |
54LL | let _ = f();
55 | ^^^^^^^^^^^^
56 |
49aad941 57help: consider adding a type annotation
add651ee 58 --> $DIR/let_underscore_untyped.rs:56:10
49aad941
FG
59 |
60LL | let _ = f();
61 | ^
9ffffee4 62
49aad941 63error: aborting due to 5 previous errors
9ffffee4 64