fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
1.9 KiB74 linesraw
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   |
7note: lint level defined here
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`
20  --> $DIR/lint-unused-variables.rs:68:9
21   |
22LL |         a: i32,
23   |         ^ help: consider prefixing with an underscore: `_a`
24
25error: unused variable: `b`
26  --> $DIR/lint-unused-variables.rs:74:9
27   |
28LL |         b: i32,
29   |         ^ help: consider prefixing with an underscore: `_b`
30
31error: unused variable: `b`
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
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`
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
69   |
70LL |         b: i32,
71   |         ^ help: consider prefixing with an underscore: `_b`
72
73error: aborting due to 11 previous errors
74