1
- warning: unexpected `cfg` condition name
1
+ warning: unexpected `cfg` condition name: `widnows`
2
2
--> $DIR/mix.rs:11: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
- warning: unexpected `cfg` condition value
9
+ warning: unexpected `cfg` condition value: (none)
10
10
--> $DIR/mix.rs:15: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
- warning: unexpected `cfg` condition value
17
+ warning: unexpected `cfg` condition value: `bar`
18
18
--> $DIR/mix.rs:22: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
- warning: unexpected `cfg` condition value
25
+ warning: unexpected `cfg` condition value: `zebra`
26
26
--> $DIR/mix.rs:26: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
- warning: unexpected `cfg` condition name
33
+ warning: unexpected `cfg` condition name: `uu`
34
34
--> $DIR/mix.rs:30:12
35
35
|
36
36
LL | #[cfg_attr(uu, test)]
@@ -46,165 +46,165 @@ warning: unexpected `unknown_name` as condition name
46
46
|
47
47
= help: was set with `--cfg` but isn't in the `--check-cfg` expected names
48
48
49
- warning: unexpected `cfg` condition name
49
+ warning: unexpected `cfg` condition name: `widnows`
50
50
--> $DIR/mix.rs:39:10
51
51
|
52
52
LL | cfg!(widnows);
53
53
| ^^^^^^^ help: there is a config with a similar name: `windows`
54
54
55
- warning: unexpected `cfg` condition value
55
+ warning: unexpected `cfg` condition value: `bar`
56
56
--> $DIR/mix.rs:42:10
57
57
|
58
58
LL | cfg!(feature = "bar");
59
59
| ^^^^^^^^^^^^^^^
60
60
|
61
61
= note: expected values for `feature` are: `foo`
62
62
63
- warning: unexpected `cfg` condition value
63
+ warning: unexpected `cfg` condition value: `zebra`
64
64
--> $DIR/mix.rs:44:10
65
65
|
66
66
LL | cfg!(feature = "zebra");
67
67
| ^^^^^^^^^^^^^^^^^
68
68
|
69
69
= note: expected values for `feature` are: `foo`
70
70
71
- warning: unexpected `cfg` condition name
71
+ warning: unexpected `cfg` condition name: `xxx`
72
72
--> $DIR/mix.rs:46:10
73
73
|
74
74
LL | cfg!(xxx = "foo");
75
75
| ^^^^^^^^^^^
76
76
|
77
77
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
78
78
79
- warning: unexpected `cfg` condition name
79
+ warning: unexpected `cfg` condition name: `xxx`
80
80
--> $DIR/mix.rs:48:10
81
81
|
82
82
LL | cfg!(xxx);
83
83
| ^^^
84
84
|
85
85
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
86
86
87
- warning: unexpected `cfg` condition name
87
+ warning: unexpected `cfg` condition name: `xxx`
88
88
--> $DIR/mix.rs:50:14
89
89
|
90
90
LL | cfg!(any(xxx, windows));
91
91
| ^^^
92
92
|
93
93
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
94
94
95
- warning: unexpected `cfg` condition value
95
+ warning: unexpected `cfg` condition value: `bad`
96
96
--> $DIR/mix.rs:52:14
97
97
|
98
98
LL | cfg!(any(feature = "bad", windows));
99
99
| ^^^^^^^^^^^^^^^
100
100
|
101
101
= note: expected values for `feature` are: `foo`
102
102
103
- warning: unexpected `cfg` condition name
103
+ warning: unexpected `cfg` condition name: `xxx`
104
104
--> $DIR/mix.rs:54:23
105
105
|
106
106
LL | cfg!(any(windows, xxx));
107
107
| ^^^
108
108
|
109
109
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
110
110
111
- warning: unexpected `cfg` condition name
111
+ warning: unexpected `cfg` condition name: `xxx`
112
112
--> $DIR/mix.rs:56:20
113
113
|
114
114
LL | cfg!(all(unix, xxx));
115
115
| ^^^
116
116
|
117
117
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
118
118
119
- warning: unexpected `cfg` condition name
119
+ warning: unexpected `cfg` condition name: `aa`
120
120
--> $DIR/mix.rs:58:14
121
121
|
122
122
LL | cfg!(all(aa, bb));
123
123
| ^^
124
124
|
125
125
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
126
126
127
- warning: unexpected `cfg` condition name
127
+ warning: unexpected `cfg` condition name: `bb`
128
128
--> $DIR/mix.rs:58:18
129
129
|
130
130
LL | cfg!(all(aa, bb));
131
131
| ^^
132
132
|
133
133
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
134
134
135
- warning: unexpected `cfg` condition name
135
+ warning: unexpected `cfg` condition name: `aa`
136
136
--> $DIR/mix.rs:61:14
137
137
|
138
138
LL | cfg!(any(aa, bb));
139
139
| ^^
140
140
|
141
141
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
142
142
143
- warning: unexpected `cfg` condition name
143
+ warning: unexpected `cfg` condition name: `bb`
144
144
--> $DIR/mix.rs:61:18
145
145
|
146
146
LL | cfg!(any(aa, bb));
147
147
| ^^
148
148
|
149
149
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
150
150
151
- warning: unexpected `cfg` condition value
151
+ warning: unexpected `cfg` condition value: `zebra`
152
152
--> $DIR/mix.rs:64:20
153
153
|
154
154
LL | cfg!(any(unix, feature = "zebra"));
155
155
| ^^^^^^^^^^^^^^^^^
156
156
|
157
157
= note: expected values for `feature` are: `foo`
158
158
159
- warning: unexpected `cfg` condition name
159
+ warning: unexpected `cfg` condition name: `xxx`
160
160
--> $DIR/mix.rs:66:14
161
161
|
162
162
LL | cfg!(any(xxx, feature = "zebra"));
163
163
| ^^^
164
164
|
165
165
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
166
166
167
- warning: unexpected `cfg` condition value
167
+ warning: unexpected `cfg` condition value: `zebra`
168
168
--> $DIR/mix.rs:66:19
169
169
|
170
170
LL | cfg!(any(xxx, feature = "zebra"));
171
171
| ^^^^^^^^^^^^^^^^^
172
172
|
173
173
= note: expected values for `feature` are: `foo`
174
174
175
- warning: unexpected `cfg` condition name
175
+ warning: unexpected `cfg` condition name: `xxx`
176
176
--> $DIR/mix.rs:69:14
177
177
|
178
178
LL | cfg!(any(xxx, unix, xxx));
179
179
| ^^^
180
180
|
181
181
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
182
182
183
- warning: unexpected `cfg` condition name
183
+ warning: unexpected `cfg` condition name: `xxx`
184
184
--> $DIR/mix.rs:69:25
185
185
|
186
186
LL | cfg!(any(xxx, unix, xxx));
187
187
| ^^^
188
188
|
189
189
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
190
190
191
- warning: unexpected `cfg` condition value
191
+ warning: unexpected `cfg` condition value: `zebra`
192
192
--> $DIR/mix.rs:72:14
193
193
|
194
194
LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
195
195
| ^^^^^^^^^^^^^^^^^
196
196
|
197
197
= note: expected values for `feature` are: `foo`
198
198
199
- warning: unexpected `cfg` condition value
199
+ warning: unexpected `cfg` condition value: `zebra`
200
200
--> $DIR/mix.rs:72:33
201
201
|
202
202
LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
203
203
| ^^^^^^^^^^^^^^^^^
204
204
|
205
205
= note: expected values for `feature` are: `foo`
206
206
207
- warning: unexpected `cfg` condition value
207
+ warning: unexpected `cfg` condition value: `zebra`
208
208
--> $DIR/mix.rs:72:52
209
209
|
210
210
LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
0 commit comments