@@ -7,154 +7,168 @@ LL | #[cfg(widnows)]
7
7
= note: `#[warn(unexpected_cfgs)]` on by default
8
8
9
9
warning: 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
11
19
|
12
20
LL | #[cfg(feature = "zebra")]
13
21
| ^^^^^^^^^^^^^^^^^
14
22
|
15
- = note: expected values for `feature` are: bar, foo
23
+ = note: expected values for `feature` are: foo
16
24
17
25
warning: unexpected `cfg` condition name
18
- --> $DIR/mix.rs:25 :12
26
+ --> $DIR/mix.rs:26 :12
19
27
|
20
28
LL | #[cfg_attr(uu, test)]
21
29
| ^^
22
30
23
31
warning: unexpected `cfg` condition name
24
- --> $DIR/mix.rs:34 :10
32
+ --> $DIR/mix.rs:35 :10
25
33
|
26
34
LL | cfg!(widnows);
27
35
| ^^^^^^^ help: did you mean: `windows`
28
36
29
37
warning: unexpected `cfg` condition value
30
38
--> $DIR/mix.rs:38:10
31
39
|
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
+ |
32
48
LL | cfg!(feature = "zebra");
33
49
| ^^^^^^^^^^^^^^^^^
34
50
|
35
- = note: expected values for `feature` are: bar, foo
51
+ = note: expected values for `feature` are: foo
36
52
37
53
warning: unexpected `cfg` condition name
38
- --> $DIR/mix.rs:40 :10
54
+ --> $DIR/mix.rs:42 :10
39
55
|
40
56
LL | cfg!(xxx = "foo");
41
57
| ^^^^^^^^^^^
42
58
43
59
warning: unexpected `cfg` condition name
44
- --> $DIR/mix.rs:42 :10
60
+ --> $DIR/mix.rs:44 :10
45
61
|
46
62
LL | cfg!(xxx);
47
63
| ^^^
48
64
49
65
warning: unexpected `cfg` condition name
50
- --> $DIR/mix.rs:44 :14
66
+ --> $DIR/mix.rs:46 :14
51
67
|
52
68
LL | cfg!(any(xxx, windows));
53
69
| ^^^
54
70
55
71
warning: unexpected `cfg` condition value
56
- --> $DIR/mix.rs:46 :14
72
+ --> $DIR/mix.rs:48 :14
57
73
|
58
74
LL | cfg!(any(feature = "bad", windows));
59
- | ^^^^^^^^^^-----
60
- | |
61
- | help: did you mean: `"bar"`
75
+ | ^^^^^^^^^^^^^^^
62
76
|
63
- = note: expected values for `feature` are: bar, foo
77
+ = note: expected values for `feature` are: foo
64
78
65
79
warning: unexpected `cfg` condition name
66
- --> $DIR/mix.rs:48 :23
80
+ --> $DIR/mix.rs:50 :23
67
81
|
68
82
LL | cfg!(any(windows, xxx));
69
83
| ^^^
70
84
71
85
warning: unexpected `cfg` condition name
72
- --> $DIR/mix.rs:50 :20
86
+ --> $DIR/mix.rs:52 :20
73
87
|
74
88
LL | cfg!(all(unix, xxx));
75
89
| ^^^
76
90
77
91
warning: unexpected `cfg` condition name
78
- --> $DIR/mix.rs:52 :14
92
+ --> $DIR/mix.rs:54 :14
79
93
|
80
94
LL | cfg!(all(aa, bb));
81
95
| ^^
82
96
83
97
warning: unexpected `cfg` condition name
84
- --> $DIR/mix.rs:52 :18
98
+ --> $DIR/mix.rs:54 :18
85
99
|
86
100
LL | cfg!(all(aa, bb));
87
101
| ^^
88
102
89
103
warning: unexpected `cfg` condition name
90
- --> $DIR/mix.rs:55 :14
104
+ --> $DIR/mix.rs:57 :14
91
105
|
92
106
LL | cfg!(any(aa, bb));
93
107
| ^^
94
108
95
109
warning: unexpected `cfg` condition name
96
- --> $DIR/mix.rs:55 :18
110
+ --> $DIR/mix.rs:57 :18
97
111
|
98
112
LL | cfg!(any(aa, bb));
99
113
| ^^
100
114
101
115
warning: unexpected `cfg` condition value
102
- --> $DIR/mix.rs:58 :20
116
+ --> $DIR/mix.rs:60 :20
103
117
|
104
118
LL | cfg!(any(unix, feature = "zebra"));
105
119
| ^^^^^^^^^^^^^^^^^
106
120
|
107
- = note: expected values for `feature` are: bar, foo
121
+ = note: expected values for `feature` are: foo
108
122
109
123
warning: unexpected `cfg` condition name
110
- --> $DIR/mix.rs:60 :14
124
+ --> $DIR/mix.rs:62 :14
111
125
|
112
126
LL | cfg!(any(xxx, feature = "zebra"));
113
127
| ^^^
114
128
115
129
warning: unexpected `cfg` condition value
116
- --> $DIR/mix.rs:60 :19
130
+ --> $DIR/mix.rs:62 :19
117
131
|
118
132
LL | cfg!(any(xxx, feature = "zebra"));
119
133
| ^^^^^^^^^^^^^^^^^
120
134
|
121
- = note: expected values for `feature` are: bar, foo
135
+ = note: expected values for `feature` are: foo
122
136
123
137
warning: unexpected `cfg` condition name
124
- --> $DIR/mix.rs:63 :14
138
+ --> $DIR/mix.rs:65 :14
125
139
|
126
140
LL | cfg!(any(xxx, unix, xxx));
127
141
| ^^^
128
142
129
143
warning: unexpected `cfg` condition name
130
- --> $DIR/mix.rs:63 :25
144
+ --> $DIR/mix.rs:65 :25
131
145
|
132
146
LL | cfg!(any(xxx, unix, xxx));
133
147
| ^^^
134
148
135
149
warning: unexpected `cfg` condition value
136
- --> $DIR/mix.rs:66 :14
150
+ --> $DIR/mix.rs:68 :14
137
151
|
138
152
LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
139
153
| ^^^^^^^^^^^^^^^^^
140
154
|
141
- = note: expected values for `feature` are: bar, foo
155
+ = note: expected values for `feature` are: foo
142
156
143
157
warning: unexpected `cfg` condition value
144
- --> $DIR/mix.rs:66 :33
158
+ --> $DIR/mix.rs:68 :33
145
159
|
146
160
LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
147
161
| ^^^^^^^^^^^^^^^^^
148
162
|
149
- = note: expected values for `feature` are: bar, foo
163
+ = note: expected values for `feature` are: foo
150
164
151
165
warning: unexpected `cfg` condition value
152
- --> $DIR/mix.rs:66 :52
166
+ --> $DIR/mix.rs:68 :52
153
167
|
154
168
LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
155
169
| ^^^^^^^^^^^^^^^^^
156
170
|
157
- = note: expected values for `feature` are: bar, foo
171
+ = note: expected values for `feature` are: foo
158
172
159
- warning: 23 warnings emitted
173
+ warning: 25 warnings emitted
160
174
0 commit comments