summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/let_underscore_untyped.stderr
blob: e0c39b6eeafef491ed9f7b03b170020c9af1f399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
error: non-binding `let` without a type annotation
  --> $DIR/let_underscore_untyped.rs:51:5
   |
LL |     let _ = a();
   |     ^^^^^^^^^^^^
   |
help: consider adding a type annotation
  --> $DIR/let_underscore_untyped.rs:51:10
   |
LL |     let _ = a();
   |          ^
   = note: `-D clippy::let-underscore-untyped` implied by `-D warnings`

error: non-binding `let` without a type annotation
  --> $DIR/let_underscore_untyped.rs:52:5
   |
LL |     let _ = b(1);
   |     ^^^^^^^^^^^^^
   |
help: consider adding a type annotation
  --> $DIR/let_underscore_untyped.rs:52:10
   |
LL |     let _ = b(1);
   |          ^

error: non-binding `let` without a type annotation
  --> $DIR/let_underscore_untyped.rs:54:5
   |
LL |     let _ = d(&1);
   |     ^^^^^^^^^^^^^^
   |
help: consider adding a type annotation
  --> $DIR/let_underscore_untyped.rs:54:10
   |
LL |     let _ = d(&1);
   |          ^

error: non-binding `let` without a type annotation
  --> $DIR/let_underscore_untyped.rs:55:5
   |
LL |     let _ = e();
   |     ^^^^^^^^^^^^
   |
help: consider adding a type annotation
  --> $DIR/let_underscore_untyped.rs:55:10
   |
LL |     let _ = e();
   |          ^

error: non-binding `let` without a type annotation
  --> $DIR/let_underscore_untyped.rs:56:5
   |
LL |     let _ = f();
   |     ^^^^^^^^^^^^
   |
help: consider adding a type annotation
  --> $DIR/let_underscore_untyped.rs:56:10
   |
LL |     let _ = f();
   |          ^

error: aborting due to 5 previous errors