1
1
warning: unexpected `cfg` condition name: `widnows`
2
- --> $DIR/mix.rs:15 :7
2
+ --> $DIR/mix.rs:17 :7
3
3
|
4
4
LL | #[cfg(widnows)]
5
5
| ^^^^^^^ help: there is a config with a similar name: `windows`
6
6
|
7
7
= note: `#[warn(unexpected_cfgs)]` on by default
8
8
9
9
warning: unexpected `cfg` condition value: (none)
10
- --> $DIR/mix.rs:19 :7
10
+ --> $DIR/mix.rs:21 :7
11
11
|
12
12
LL | #[cfg(feature)]
13
13
| ^^^^^^^- help: specify a config value: `= "foo"`
14
14
|
15
15
= note: expected values for `feature` are: `foo`
16
16
17
17
warning: unexpected `cfg` condition value: `bar`
18
- --> $DIR/mix.rs:26 :7
18
+ --> $DIR/mix.rs:28 :7
19
19
|
20
20
LL | #[cfg(feature = "bar")]
21
21
| ^^^^^^^^^^^^^^^
22
22
|
23
23
= note: expected values for `feature` are: `foo`
24
24
25
25
warning: unexpected `cfg` condition value: `zebra`
26
- --> $DIR/mix.rs:30 :7
26
+ --> $DIR/mix.rs:32 :7
27
27
|
28
28
LL | #[cfg(feature = "zebra")]
29
29
| ^^^^^^^^^^^^^^^^^
30
30
|
31
31
= note: expected values for `feature` are: `foo`
32
32
33
33
warning: unexpected `cfg` condition name: `uu`
34
- --> $DIR/mix.rs:34 :12
34
+ --> $DIR/mix.rs:36 :12
35
35
|
36
36
LL | #[cfg_attr(uu, test)]
37
37
| ^^
@@ -41,147 +41,152 @@ LL | #[cfg_attr(uu, test)]
41
41
warning: unexpected condition value `bar` for condition name `feature`
42
42
|
43
43
= help: was set with `--cfg` but isn't in the `--check-cfg` expected values
44
+ note: the lint level is defined here
45
+ --> $DIR/mix.rs:12:9
46
+ |
47
+ LL | #![warn(unexpected_cli_cfgs)]
48
+ | ^^^^^^^^^^^^^^^^^^^
44
49
45
50
warning: unexpected `unknown_name` as condition name
46
51
|
47
52
= help: was set with `--cfg` but isn't in the `--check-cfg` expected names
48
53
49
54
warning: unexpected `cfg` condition name: `widnows`
50
- --> $DIR/mix.rs:43 :10
55
+ --> $DIR/mix.rs:45 :10
51
56
|
52
57
LL | cfg!(widnows);
53
58
| ^^^^^^^ help: there is a config with a similar name: `windows`
54
59
55
60
warning: unexpected `cfg` condition value: `bar`
56
- --> $DIR/mix.rs:46 :10
61
+ --> $DIR/mix.rs:48 :10
57
62
|
58
63
LL | cfg!(feature = "bar");
59
64
| ^^^^^^^^^^^^^^^
60
65
|
61
66
= note: expected values for `feature` are: `foo`
62
67
63
68
warning: unexpected `cfg` condition value: `zebra`
64
- --> $DIR/mix.rs:48 :10
69
+ --> $DIR/mix.rs:50 :10
65
70
|
66
71
LL | cfg!(feature = "zebra");
67
72
| ^^^^^^^^^^^^^^^^^
68
73
|
69
74
= note: expected values for `feature` are: `foo`
70
75
71
76
warning: unexpected `cfg` condition name: `xxx`
72
- --> $DIR/mix.rs:50 :10
77
+ --> $DIR/mix.rs:52 :10
73
78
|
74
79
LL | cfg!(xxx = "foo");
75
80
| ^^^^^^^^^^^
76
81
77
82
warning: unexpected `cfg` condition name: `xxx`
78
- --> $DIR/mix.rs:52 :10
83
+ --> $DIR/mix.rs:54 :10
79
84
|
80
85
LL | cfg!(xxx);
81
86
| ^^^
82
87
83
88
warning: unexpected `cfg` condition name: `xxx`
84
- --> $DIR/mix.rs:54 :14
89
+ --> $DIR/mix.rs:56 :14
85
90
|
86
91
LL | cfg!(any(xxx, windows));
87
92
| ^^^
88
93
89
94
warning: unexpected `cfg` condition value: `bad`
90
- --> $DIR/mix.rs:56 :14
95
+ --> $DIR/mix.rs:58 :14
91
96
|
92
97
LL | cfg!(any(feature = "bad", windows));
93
98
| ^^^^^^^^^^^^^^^
94
99
|
95
100
= note: expected values for `feature` are: `foo`
96
101
97
102
warning: unexpected `cfg` condition name: `xxx`
98
- --> $DIR/mix.rs:58 :23
103
+ --> $DIR/mix.rs:60 :23
99
104
|
100
105
LL | cfg!(any(windows, xxx));
101
106
| ^^^
102
107
103
108
warning: unexpected `cfg` condition name: `xxx`
104
- --> $DIR/mix.rs:60 :20
109
+ --> $DIR/mix.rs:62 :20
105
110
|
106
111
LL | cfg!(all(unix, xxx));
107
112
| ^^^
108
113
109
114
warning: unexpected `cfg` condition name: `aa`
110
- --> $DIR/mix.rs:62 :14
115
+ --> $DIR/mix.rs:64 :14
111
116
|
112
117
LL | cfg!(all(aa, bb));
113
118
| ^^
114
119
115
120
warning: unexpected `cfg` condition name: `bb`
116
- --> $DIR/mix.rs:62 :18
121
+ --> $DIR/mix.rs:64 :18
117
122
|
118
123
LL | cfg!(all(aa, bb));
119
124
| ^^
120
125
121
126
warning: unexpected `cfg` condition name: `aa`
122
- --> $DIR/mix.rs:65 :14
127
+ --> $DIR/mix.rs:67 :14
123
128
|
124
129
LL | cfg!(any(aa, bb));
125
130
| ^^
126
131
127
132
warning: unexpected `cfg` condition name: `bb`
128
- --> $DIR/mix.rs:65 :18
133
+ --> $DIR/mix.rs:67 :18
129
134
|
130
135
LL | cfg!(any(aa, bb));
131
136
| ^^
132
137
133
138
warning: unexpected `cfg` condition value: `zebra`
134
- --> $DIR/mix.rs:68 :20
139
+ --> $DIR/mix.rs:70 :20
135
140
|
136
141
LL | cfg!(any(unix, feature = "zebra"));
137
142
| ^^^^^^^^^^^^^^^^^
138
143
|
139
144
= note: expected values for `feature` are: `foo`
140
145
141
146
warning: unexpected `cfg` condition name: `xxx`
142
- --> $DIR/mix.rs:70 :14
147
+ --> $DIR/mix.rs:72 :14
143
148
|
144
149
LL | cfg!(any(xxx, feature = "zebra"));
145
150
| ^^^
146
151
147
152
warning: unexpected `cfg` condition value: `zebra`
148
- --> $DIR/mix.rs:70 :19
153
+ --> $DIR/mix.rs:72 :19
149
154
|
150
155
LL | cfg!(any(xxx, feature = "zebra"));
151
156
| ^^^^^^^^^^^^^^^^^
152
157
|
153
158
= note: expected values for `feature` are: `foo`
154
159
155
160
warning: unexpected `cfg` condition name: `xxx`
156
- --> $DIR/mix.rs:73 :14
161
+ --> $DIR/mix.rs:75 :14
157
162
|
158
163
LL | cfg!(any(xxx, unix, xxx));
159
164
| ^^^
160
165
161
166
warning: unexpected `cfg` condition name: `xxx`
162
- --> $DIR/mix.rs:73 :25
167
+ --> $DIR/mix.rs:75 :25
163
168
|
164
169
LL | cfg!(any(xxx, unix, xxx));
165
170
| ^^^
166
171
167
172
warning: unexpected `cfg` condition value: `zebra`
168
- --> $DIR/mix.rs:76 :14
173
+ --> $DIR/mix.rs:78 :14
169
174
|
170
175
LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
171
176
| ^^^^^^^^^^^^^^^^^
172
177
|
173
178
= note: expected values for `feature` are: `foo`
174
179
175
180
warning: unexpected `cfg` condition value: `zebra`
176
- --> $DIR/mix.rs:76 :33
181
+ --> $DIR/mix.rs:78 :33
177
182
|
178
183
LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
179
184
| ^^^^^^^^^^^^^^^^^
180
185
|
181
186
= note: expected values for `feature` are: `foo`
182
187
183
188
warning: unexpected `cfg` condition value: `zebra`
184
- --> $DIR/mix.rs:76 :52
189
+ --> $DIR/mix.rs:78 :52
185
190
|
186
191
LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
187
192
| ^^^^^^^^^^^^^^^^^
0 commit comments