summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/let_underscore_untyped.stderr
blob: 36c3d1214d6b3e1831a5b605fdf1e351466e7b4f (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
error: non-binding `let` without a type annotation
  --> $DIR/let_underscore_untyped.rs:32:5
   |
LL |     let _ = a();
   |     ^^^^^^^^^^^^
   |
   = help: consider adding a type annotation or removing the `let` keyword
   = note: `-D clippy::let-underscore-untyped` implied by `-D warnings`

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

error: non-binding `let` without a type annotation
  --> $DIR/let_underscore_untyped.rs:34:5
   |
LL |     let _ = c();
   |     ^^^^^^^^^^^^
   |
   = help: consider adding a type annotation or removing the `let` keyword

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

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

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

error: aborting due to 6 previous errors