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