fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
4.0 KiB122 linesraw
1error: unused variable: `a`
2  --> $DIR/param-attrs-cfg.rs:24:23
3   |
4LL |     #[cfg(something)] a: i32,
5   |                       ^ help: consider prefixing with an underscore: `_a`
6   |
7note: the lint level is defined here
8  --> $DIR/param-attrs-cfg.rs:5:9
9   |
10LL | #![deny(unused_variables)]
11   |         ^^^^^^^^^^^^^^^^
12
13error: unused variable: `b`
14  --> $DIR/param-attrs-cfg.rs:30:23
15   |
16LL |     #[cfg(something)] b: i32,
17   |                       ^ help: consider prefixing with an underscore: `_b`
18
19error: unused variable: `c`
20  --> $DIR/param-attrs-cfg.rs:32:40
21   |
22LL |     #[cfg_attr(nothing, cfg(nothing))] c: i32,
23   |                                        ^ help: consider prefixing with an underscore: `_c`
24
25error: unused variable: `a`
26  --> $DIR/param-attrs-cfg.rs:107:27
27   |
28LL |         #[cfg(something)] a: i32,
29   |                           ^ help: consider prefixing with an underscore: `_a`
30
31error: unused variable: `b`
32  --> $DIR/param-attrs-cfg.rs:113:27
33   |
34LL |         #[cfg(something)] b: i32,
35   |                           ^ help: consider prefixing with an underscore: `_b`
36
37error: unused variable: `c`
38  --> $DIR/param-attrs-cfg.rs:115:44
39   |
40LL |         #[cfg_attr(nothing, cfg(nothing))] c: i32,
41   |                                            ^ help: consider prefixing with an underscore: `_c`
42
43error: unused variable: `b`
44  --> $DIR/param-attrs-cfg.rs:67:27
45   |
46LL |         #[cfg(something)] b: i32,
47   |                           ^ help: consider prefixing with an underscore: `_b`
48
49error: unused variable: `c`
50  --> $DIR/param-attrs-cfg.rs:69:44
51   |
52LL |         #[cfg_attr(nothing, cfg(nothing))] c: i32,
53   |                                            ^ help: consider prefixing with an underscore: `_c`
54
55error: unused variable: `b`
56  --> $DIR/param-attrs-cfg.rs:75:27
57   |
58LL |         #[cfg(something)] b: i32,
59   |                           ^ help: consider prefixing with an underscore: `_b`
60
61error: unused variable: `c`
62  --> $DIR/param-attrs-cfg.rs:77:44
63   |
64LL |         #[cfg_attr(nothing, cfg(nothing))] c: i32,
65   |                                            ^ help: consider prefixing with an underscore: `_c`
66
67error: unused variable: `a`
68  --> $DIR/param-attrs-cfg.rs:41:27
69   |
70LL |         #[cfg(something)] a: i32,
71   |                           ^ help: consider prefixing with an underscore: `_a`
72
73error: unused variable: `b`
74  --> $DIR/param-attrs-cfg.rs:48:27
75   |
76LL |         #[cfg(something)] b: i32,
77   |                           ^ help: consider prefixing with an underscore: `_b`
78
79error: unused variable: `c`
80  --> $DIR/param-attrs-cfg.rs:50:44
81   |
82LL |         #[cfg_attr(nothing, cfg(nothing))] c: i32,
83   |                                            ^ help: consider prefixing with an underscore: `_c`
84
85error: unused variable: `b`
86  --> $DIR/param-attrs-cfg.rs:56:27
87   |
88LL |         #[cfg(something)] b: i32,
89   |                           ^ help: consider prefixing with an underscore: `_b`
90
91error: unused variable: `c`
92  --> $DIR/param-attrs-cfg.rs:58:44
93   |
94LL |         #[cfg_attr(nothing, cfg(nothing))] c: i32,
95   |                                            ^ help: consider prefixing with an underscore: `_c`
96
97error: unused variable: `b`
98  --> $DIR/param-attrs-cfg.rs:86:27
99   |
100LL |         #[cfg(something)] b: i32,
101   |                           ^ help: consider prefixing with an underscore: `_b`
102
103error: unused variable: `c`
104  --> $DIR/param-attrs-cfg.rs:88:44
105   |
106LL |         #[cfg_attr(nothing, cfg(nothing))] c: i32,
107   |                                            ^ help: consider prefixing with an underscore: `_c`
108
109error: unused variable: `b`
110  --> $DIR/param-attrs-cfg.rs:94:27
111   |
112LL |         #[cfg(something)] b: i32,
113   |                           ^ help: consider prefixing with an underscore: `_b`
114
115error: unused variable: `c`
116  --> $DIR/param-attrs-cfg.rs:96:44
117   |
118LL |         #[cfg_attr(nothing, cfg(nothing))] c: i32,
119   |                                            ^ help: consider prefixing with an underscore: `_c`
120
121error: aborting due to 19 previous errors
122