]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-unused-variables.stderr
Lint attributes on function arguments
[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: consider prefixing with an underscore: `_a`
6    |
7 note: lint level 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: consider prefixing with an underscore: `_b`
18
19 error: unused variable: `a`
20   --> $DIR/lint-unused-variables.rs:53:9
21    |
22 LL |         a: i32,
23    |         ^ help: consider prefixing with an underscore: `_a`
24
25 error: unused variable: `b`
26   --> $DIR/lint-unused-variables.rs:59:9
27    |
28 LL |         b: i32,
29    |         ^ help: consider prefixing with an underscore: `_b`
30
31 error: unused variable: `b`
32   --> $DIR/lint-unused-variables.rs:37:9
33    |
34 LL |         b: i32,
35    |         ^ help: consider prefixing with an underscore: `_b`
36
37 error: unused variable: `a`
38   --> $DIR/lint-unused-variables.rs:22:9
39    |
40 LL |         a: i32,
41    |         ^ help: consider prefixing with an underscore: `_a`
42
43 error: unused variable: `b`
44   --> $DIR/lint-unused-variables.rs:29:9
45    |
46 LL |         b: i32,
47    |         ^ help: consider prefixing with an underscore: `_b`
48
49 error: unused variable: `b`
50   --> $DIR/lint-unused-variables.rs:45:9
51    |
52 LL |         b: i32,
53    |         ^ help: consider prefixing with an underscore: `_b`
54
55 error: aborting due to 8 previous errors
56