@@ -7,154 +7,168 @@ LL | #[cfg(widnows)]
77 = note: `#[warn(unexpected_cfgs)]` on by default
88
99warning: unexpected `cfg` condition value
10- --> $DIR/mix.rs:21:7
10+ --> $DIR/mix.rs:18:7
11+ |
12+ LL | #[cfg(feature = "bar")]
13+ | ^^^^^^^^^^^^^^^
14+ |
15+ = note: expected values for `feature` are: foo
16+
17+ warning: unexpected `cfg` condition value
18+ --> $DIR/mix.rs:22:7
1119 |
1220LL | #[cfg(feature = "zebra")]
1321 | ^^^^^^^^^^^^^^^^^
1422 |
15- = note: expected values for `feature` are: bar, foo
23+ = note: expected values for `feature` are: foo
1624
1725warning: unexpected `cfg` condition name
18- --> $DIR/mix.rs:25 :12
26+ --> $DIR/mix.rs:26 :12
1927 |
2028LL | #[cfg_attr(uu, test)]
2129 | ^^
2230
2331warning: unexpected `cfg` condition name
24- --> $DIR/mix.rs:34 :10
32+ --> $DIR/mix.rs:35 :10
2533 |
2634LL | cfg!(widnows);
2735 | ^^^^^^^ help: did you mean: `windows`
2836
2937warning: unexpected `cfg` condition value
3038 --> $DIR/mix.rs:38:10
3139 |
40+ LL | cfg!(feature = "bar");
41+ | ^^^^^^^^^^^^^^^
42+ |
43+ = note: expected values for `feature` are: foo
44+
45+ warning: unexpected `cfg` condition value
46+ --> $DIR/mix.rs:40:10
47+ |
3248LL | cfg!(feature = "zebra");
3349 | ^^^^^^^^^^^^^^^^^
3450 |
35- = note: expected values for `feature` are: bar, foo
51+ = note: expected values for `feature` are: foo
3652
3753warning: unexpected `cfg` condition name
38- --> $DIR/mix.rs:40 :10
54+ --> $DIR/mix.rs:42 :10
3955 |
4056LL | cfg!(xxx = "foo");
4157 | ^^^^^^^^^^^
4258
4359warning: unexpected `cfg` condition name
44- --> $DIR/mix.rs:42 :10
60+ --> $DIR/mix.rs:44 :10
4561 |
4662LL | cfg!(xxx);
4763 | ^^^
4864
4965warning: unexpected `cfg` condition name
50- --> $DIR/mix.rs:44 :14
66+ --> $DIR/mix.rs:46 :14
5167 |
5268LL | cfg!(any(xxx, windows));
5369 | ^^^
5470
5571warning: unexpected `cfg` condition value
56- --> $DIR/mix.rs:46 :14
72+ --> $DIR/mix.rs:48 :14
5773 |
5874LL | cfg!(any(feature = "bad", windows));
59- | ^^^^^^^^^^-----
60- | |
61- | help: did you mean: `"bar"`
75+ | ^^^^^^^^^^^^^^^
6276 |
63- = note: expected values for `feature` are: bar, foo
77+ = note: expected values for `feature` are: foo
6478
6579warning: unexpected `cfg` condition name
66- --> $DIR/mix.rs:48 :23
80+ --> $DIR/mix.rs:50 :23
6781 |
6882LL | cfg!(any(windows, xxx));
6983 | ^^^
7084
7185warning: unexpected `cfg` condition name
72- --> $DIR/mix.rs:50 :20
86+ --> $DIR/mix.rs:52 :20
7387 |
7488LL | cfg!(all(unix, xxx));
7589 | ^^^
7690
7791warning: unexpected `cfg` condition name
78- --> $DIR/mix.rs:52 :14
92+ --> $DIR/mix.rs:54 :14
7993 |
8094LL | cfg!(all(aa, bb));
8195 | ^^
8296
8397warning: unexpected `cfg` condition name
84- --> $DIR/mix.rs:52 :18
98+ --> $DIR/mix.rs:54 :18
8599 |
86100LL | cfg!(all(aa, bb));
87101 | ^^
88102
89103warning: unexpected `cfg` condition name
90- --> $DIR/mix.rs:55 :14
104+ --> $DIR/mix.rs:57 :14
91105 |
92106LL | cfg!(any(aa, bb));
93107 | ^^
94108
95109warning: unexpected `cfg` condition name
96- --> $DIR/mix.rs:55 :18
110+ --> $DIR/mix.rs:57 :18
97111 |
98112LL | cfg!(any(aa, bb));
99113 | ^^
100114
101115warning: unexpected `cfg` condition value
102- --> $DIR/mix.rs:58 :20
116+ --> $DIR/mix.rs:60 :20
103117 |
104118LL | cfg!(any(unix, feature = "zebra"));
105119 | ^^^^^^^^^^^^^^^^^
106120 |
107- = note: expected values for `feature` are: bar, foo
121+ = note: expected values for `feature` are: foo
108122
109123warning: unexpected `cfg` condition name
110- --> $DIR/mix.rs:60 :14
124+ --> $DIR/mix.rs:62 :14
111125 |
112126LL | cfg!(any(xxx, feature = "zebra"));
113127 | ^^^
114128
115129warning: unexpected `cfg` condition value
116- --> $DIR/mix.rs:60 :19
130+ --> $DIR/mix.rs:62 :19
117131 |
118132LL | cfg!(any(xxx, feature = "zebra"));
119133 | ^^^^^^^^^^^^^^^^^
120134 |
121- = note: expected values for `feature` are: bar, foo
135+ = note: expected values for `feature` are: foo
122136
123137warning: unexpected `cfg` condition name
124- --> $DIR/mix.rs:63 :14
138+ --> $DIR/mix.rs:65 :14
125139 |
126140LL | cfg!(any(xxx, unix, xxx));
127141 | ^^^
128142
129143warning: unexpected `cfg` condition name
130- --> $DIR/mix.rs:63 :25
144+ --> $DIR/mix.rs:65 :25
131145 |
132146LL | cfg!(any(xxx, unix, xxx));
133147 | ^^^
134148
135149warning: unexpected `cfg` condition value
136- --> $DIR/mix.rs:66 :14
150+ --> $DIR/mix.rs:68 :14
137151 |
138152LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
139153 | ^^^^^^^^^^^^^^^^^
140154 |
141- = note: expected values for `feature` are: bar, foo
155+ = note: expected values for `feature` are: foo
142156
143157warning: unexpected `cfg` condition value
144- --> $DIR/mix.rs:66 :33
158+ --> $DIR/mix.rs:68 :33
145159 |
146160LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
147161 | ^^^^^^^^^^^^^^^^^
148162 |
149- = note: expected values for `feature` are: bar, foo
163+ = note: expected values for `feature` are: foo
150164
151165warning: unexpected `cfg` condition value
152- --> $DIR/mix.rs:66 :52
166+ --> $DIR/mix.rs:68 :52
153167 |
154168LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
155169 | ^^^^^^^^^^^^^^^^^
156170 |
157- = note: expected values for `feature` are: bar, foo
171+ = note: expected values for `feature` are: foo
158172
159- warning: 23 warnings emitted
173+ warning: 25 warnings emitted
160174
0 commit comments