]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2565-param-attrs/param-attrs-cfg.stderr
Rollup merge of #63055 - Mark-Simulacrum:save-analysis-clean-2, r=Xanewok
[rust.git] / src / test / 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: consider prefixing with an underscore: `_a`
6    |
7 note: lint level 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: consider prefixing 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: consider prefixing with an underscore: `_c`
24
25 error: unused variable: `a`
26   --> $DIR/param-attrs-cfg.rs:83:27
27    |
28 LL |         #[cfg(something)] a: i32,
29    |                           ^ help: consider prefixing with an underscore: `_a`
30
31 error: unused variable: `b`
32   --> $DIR/param-attrs-cfg.rs:89:27
33    |
34 LL |         #[cfg(something)] b: i32,
35    |                           ^ help: consider prefixing with an underscore: `_b`
36
37 error: unused variable: `c`
38   --> $DIR/param-attrs-cfg.rs:91:44
39    |
40 LL |         #[cfg_attr(nothing, cfg(nothing))] c: i32,
41    |                                            ^ help: consider prefixing with an underscore: `_c`
42
43 error: unused variable: `b`
44   --> $DIR/param-attrs-cfg.rs:59:27
45    |
46 LL |         #[cfg(something)] b: i32,
47    |                           ^ help: consider prefixing with an underscore: `_b`
48
49 error: unused variable: `c`
50   --> $DIR/param-attrs-cfg.rs:61:44
51    |
52 LL |         #[cfg_attr(nothing, cfg(nothing))] c: i32,
53    |                                            ^ help: consider prefixing with an underscore: `_c`
54
55 error: unused variable: `a`
56   --> $DIR/param-attrs-cfg.rs:41:27
57    |
58 LL |         #[cfg(something)] a: i32,
59    |                           ^ help: consider prefixing with an underscore: `_a`
60
61 error: unused variable: `b`
62   --> $DIR/param-attrs-cfg.rs:48:27
63    |
64 LL |         #[cfg(something)] b: i32,
65    |                           ^ help: consider prefixing with an underscore: `_b`
66
67 error: unused variable: `c`
68   --> $DIR/param-attrs-cfg.rs:50:44
69    |
70 LL |         #[cfg_attr(nothing, cfg(nothing))] c: i32,
71    |                                            ^ help: consider prefixing with an underscore: `_c`
72
73 error: unused variable: `b`
74   --> $DIR/param-attrs-cfg.rs:70:27
75    |
76 LL |         #[cfg(something)] b: i32,
77    |                           ^ help: consider prefixing with an underscore: `_b`
78
79 error: unused variable: `c`
80   --> $DIR/param-attrs-cfg.rs:72:44
81    |
82 LL |         #[cfg_attr(nothing, cfg(nothing))] c: i32,
83    |                                            ^ help: consider prefixing with an underscore: `_c`
84
85 error: aborting due to 13 previous errors
86