]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lint/lint-unused-variables.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / lint / lint-unused-variables.stderr
CommitLineData
416331ca
XL
1error: unused variable: `a`
2 --> $DIR/lint-unused-variables.rs:8:5
3 |
4LL | a: i32,
5 | ^ help: consider prefixing with an underscore: `_a`
6 |
74b04a01 7note: the lint level is defined here
416331ca
XL
8 --> $DIR/lint-unused-variables.rs:5:9
9 |
10LL | #![deny(unused_variables)]
11 | ^^^^^^^^^^^^^^^^
12
13error: unused variable: `b`
14 --> $DIR/lint-unused-variables.rs:14:5
15 |
16LL | b: i32,
17 | ^ help: consider prefixing with an underscore: `_b`
18
19error: unused variable: `a`
e1599b0c 20 --> $DIR/lint-unused-variables.rs:68:9
416331ca
XL
21 |
22LL | a: i32,
23 | ^ help: consider prefixing with an underscore: `_a`
24
25error: unused variable: `b`
e1599b0c 26 --> $DIR/lint-unused-variables.rs:74:9
416331ca
XL
27 |
28LL | b: i32,
29 | ^ help: consider prefixing with an underscore: `_b`
30
31error: unused variable: `b`
e1599b0c
XL
32 --> $DIR/lint-unused-variables.rs:42:9
33 |
34LL | b: i32,
35 | ^ help: consider prefixing with an underscore: `_b`
36
37error: unused variable: `b`
38 --> $DIR/lint-unused-variables.rs:47:9
416331ca
XL
39 |
40LL | b: i32,
41 | ^ help: consider prefixing with an underscore: `_b`
42
43error: unused variable: `a`
44 --> $DIR/lint-unused-variables.rs:22:9
45 |
46LL | a: i32,
47 | ^ help: consider prefixing with an underscore: `_a`
48
49error: unused variable: `b`
50 --> $DIR/lint-unused-variables.rs:29:9
51 |
52LL | b: i32,
53 | ^ help: consider prefixing with an underscore: `_b`
54
55error: unused variable: `b`
e1599b0c
XL
56 --> $DIR/lint-unused-variables.rs:34:9
57 |
58LL | b: i32,
59 | ^ help: consider prefixing with an underscore: `_b`
60
61error: unused variable: `b`
62 --> $DIR/lint-unused-variables.rs:55:9
63 |
64LL | b: i32,
65 | ^ help: consider prefixing with an underscore: `_b`
66
67error: unused variable: `b`
68 --> $DIR/lint-unused-variables.rs:60:9
416331ca
XL
69 |
70LL | b: i32,
71 | ^ help: consider prefixing with an underscore: `_b`
72
e1599b0c 73error: aborting due to 11 previous errors
416331ca 74