]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-unused-variables.stderr
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[rust.git] / src / test / ui / lint / lint-unused-variables.stderr
1 error: unused variable: `a`
2   --> $DIR/lint-unused-variables.rs:8:5
3    |
4 LL |     a: i32,
5    |     ^ help: if this is intentional, prefix it with an underscore: `_a`
6    |
7 note: the lint level is defined here
8   --> $DIR/lint-unused-variables.rs:5:9
9    |
10 LL | #![deny(unused_variables)]
11    |         ^^^^^^^^^^^^^^^^
12
13 error: unused variable: `b`
14   --> $DIR/lint-unused-variables.rs:14:5
15    |
16 LL |     b: i32,
17    |     ^ help: if this is intentional, prefix it with an underscore: `_b`
18
19 error: unused variable: `a`
20   --> $DIR/lint-unused-variables.rs:68:9
21    |
22 LL |         a: i32,
23    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
24
25 error: unused variable: `b`
26   --> $DIR/lint-unused-variables.rs:74:9
27    |
28 LL |         b: i32,
29    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
30
31 error: unused variable: `b`
32   --> $DIR/lint-unused-variables.rs:42:9
33    |
34 LL |         b: i32,
35    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
36
37 error: unused variable: `b`
38   --> $DIR/lint-unused-variables.rs:47:9
39    |
40 LL |         b: i32,
41    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
42
43 error: unused variable: `a`
44   --> $DIR/lint-unused-variables.rs:22:9
45    |
46 LL |         a: i32,
47    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
48
49 error: unused variable: `b`
50   --> $DIR/lint-unused-variables.rs:29:9
51    |
52 LL |         b: i32,
53    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
54
55 error: unused variable: `b`
56   --> $DIR/lint-unused-variables.rs:34:9
57    |
58 LL |         b: i32,
59    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
60
61 error: unused variable: `b`
62   --> $DIR/lint-unused-variables.rs:55:9
63    |
64 LL |         b: i32,
65    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
66
67 error: unused variable: `b`
68   --> $DIR/lint-unused-variables.rs:60:9
69    |
70 LL |         b: i32,
71    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
72
73 error: aborting due to 11 previous errors
74