]>
Commit | Line | Data |
---|---|---|
416331ca XL |
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 | | | |
74b04a01 | 7 | note: the lint level is defined here |
416331ca XL |
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` | |
e1599b0c | 20 | --> $DIR/lint-unused-variables.rs:68:9 |
416331ca XL |
21 | | |
22 | LL | a: i32, | |
23 | | ^ help: consider prefixing with an underscore: `_a` | |
24 | ||
25 | error: unused variable: `b` | |
e1599b0c | 26 | --> $DIR/lint-unused-variables.rs:74:9 |
416331ca XL |
27 | | |
28 | LL | b: i32, | |
29 | | ^ help: consider prefixing with an underscore: `_b` | |
30 | ||
31 | error: unused variable: `b` | |
e1599b0c XL |
32 | --> $DIR/lint-unused-variables.rs:42:9 |
33 | | | |
34 | LL | b: i32, | |
35 | | ^ help: consider prefixing with an underscore: `_b` | |
36 | ||
37 | error: unused variable: `b` | |
38 | --> $DIR/lint-unused-variables.rs:47:9 | |
416331ca XL |
39 | | |
40 | LL | b: i32, | |
41 | | ^ help: consider prefixing 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: consider prefixing 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: consider prefixing with an underscore: `_b` | |
54 | ||
55 | error: unused variable: `b` | |
e1599b0c XL |
56 | --> $DIR/lint-unused-variables.rs:34:9 |
57 | | | |
58 | LL | b: i32, | |
59 | | ^ help: consider prefixing 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: consider prefixing with an underscore: `_b` | |
66 | ||
67 | error: unused variable: `b` | |
68 | --> $DIR/lint-unused-variables.rs:60:9 | |
416331ca XL |
69 | | |
70 | LL | b: i32, | |
71 | | ^ help: consider prefixing with an underscore: `_b` | |
72 | ||
e1599b0c | 73 | error: aborting due to 11 previous errors |
416331ca | 74 |