1
1
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
2
2
--> $DIR/well-known-values.rs:29:5
3
3
|
4
+ LL | c_char_type = "_UNEXPECTED_VALUE",
5
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
+ |
7
+ = note: expected values for `c_char_type` are: `default`, `signed`, and `unsigned`
8
+ = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
9
+ = note: `#[warn(unexpected_cfgs)]` on by default
10
+
11
+ warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
12
+ --> $DIR/well-known-values.rs:31:5
13
+ |
4
14
LL | clippy = "_UNEXPECTED_VALUE",
5
15
| ^^^^^^----------------------
6
16
| |
7
17
| help: remove the value
8
18
|
9
19
= note: no expected value for `clippy`
10
20
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
11
- = note: `#[warn(unexpected_cfgs)]` on by default
12
21
13
22
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
14
- --> $DIR/well-known-values.rs:31 :5
23
+ --> $DIR/well-known-values.rs:33 :5
15
24
|
16
25
LL | debug_assertions = "_UNEXPECTED_VALUE",
17
26
| ^^^^^^^^^^^^^^^^----------------------
@@ -22,7 +31,7 @@ LL | debug_assertions = "_UNEXPECTED_VALUE",
22
31
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
23
32
24
33
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
25
- --> $DIR/well-known-values.rs:33 :5
34
+ --> $DIR/well-known-values.rs:35 :5
26
35
|
27
36
LL | doc = "_UNEXPECTED_VALUE",
28
37
| ^^^----------------------
@@ -33,7 +42,7 @@ LL | doc = "_UNEXPECTED_VALUE",
33
42
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
34
43
35
44
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
36
- --> $DIR/well-known-values.rs:35 :5
45
+ --> $DIR/well-known-values.rs:37 :5
37
46
|
38
47
LL | doctest = "_UNEXPECTED_VALUE",
39
48
| ^^^^^^^----------------------
@@ -44,7 +53,7 @@ LL | doctest = "_UNEXPECTED_VALUE",
44
53
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
45
54
46
55
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
47
- --> $DIR/well-known-values.rs:37 :5
56
+ --> $DIR/well-known-values.rs:39 :5
48
57
|
49
58
LL | fmt_debug = "_UNEXPECTED_VALUE",
50
59
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -53,7 +62,7 @@ LL | fmt_debug = "_UNEXPECTED_VALUE",
53
62
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
54
63
55
64
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
56
- --> $DIR/well-known-values.rs:39 :5
65
+ --> $DIR/well-known-values.rs:41 :5
57
66
|
58
67
LL | miri = "_UNEXPECTED_VALUE",
59
68
| ^^^^----------------------
@@ -64,7 +73,7 @@ LL | miri = "_UNEXPECTED_VALUE",
64
73
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
65
74
66
75
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
67
- --> $DIR/well-known-values.rs:41 :5
76
+ --> $DIR/well-known-values.rs:43 :5
68
77
|
69
78
LL | overflow_checks = "_UNEXPECTED_VALUE",
70
79
| ^^^^^^^^^^^^^^^----------------------
@@ -75,7 +84,7 @@ LL | overflow_checks = "_UNEXPECTED_VALUE",
75
84
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
76
85
77
86
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
78
- --> $DIR/well-known-values.rs:43 :5
87
+ --> $DIR/well-known-values.rs:45 :5
79
88
|
80
89
LL | panic = "_UNEXPECTED_VALUE",
81
90
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -84,7 +93,7 @@ LL | panic = "_UNEXPECTED_VALUE",
84
93
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
85
94
86
95
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
87
- --> $DIR/well-known-values.rs:45 :5
96
+ --> $DIR/well-known-values.rs:47 :5
88
97
|
89
98
LL | proc_macro = "_UNEXPECTED_VALUE",
90
99
| ^^^^^^^^^^----------------------
@@ -95,7 +104,7 @@ LL | proc_macro = "_UNEXPECTED_VALUE",
95
104
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
96
105
97
106
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
98
- --> $DIR/well-known-values.rs:47 :5
107
+ --> $DIR/well-known-values.rs:49 :5
99
108
|
100
109
LL | relocation_model = "_UNEXPECTED_VALUE",
101
110
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -104,7 +113,7 @@ LL | relocation_model = "_UNEXPECTED_VALUE",
104
113
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
105
114
106
115
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
107
- --> $DIR/well-known-values.rs:49 :5
116
+ --> $DIR/well-known-values.rs:51 :5
108
117
|
109
118
LL | rustfmt = "_UNEXPECTED_VALUE",
110
119
| ^^^^^^^----------------------
@@ -115,7 +124,7 @@ LL | rustfmt = "_UNEXPECTED_VALUE",
115
124
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
116
125
117
126
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
118
- --> $DIR/well-known-values.rs:51 :5
127
+ --> $DIR/well-known-values.rs:53 :5
119
128
|
120
129
LL | sanitize = "_UNEXPECTED_VALUE",
121
130
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -124,7 +133,7 @@ LL | sanitize = "_UNEXPECTED_VALUE",
124
133
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
125
134
126
135
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
127
- --> $DIR/well-known-values.rs:53 :5
136
+ --> $DIR/well-known-values.rs:55 :5
128
137
|
129
138
LL | target_abi = "_UNEXPECTED_VALUE",
130
139
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -133,7 +142,7 @@ LL | target_abi = "_UNEXPECTED_VALUE",
133
142
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
134
143
135
144
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
136
- --> $DIR/well-known-values.rs:55 :5
145
+ --> $DIR/well-known-values.rs:57 :5
137
146
|
138
147
LL | target_arch = "_UNEXPECTED_VALUE",
139
148
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -142,7 +151,7 @@ LL | target_arch = "_UNEXPECTED_VALUE",
142
151
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
143
152
144
153
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
145
- --> $DIR/well-known-values.rs:57 :5
154
+ --> $DIR/well-known-values.rs:59 :5
146
155
|
147
156
LL | target_endian = "_UNEXPECTED_VALUE",
148
157
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -151,7 +160,7 @@ LL | target_endian = "_UNEXPECTED_VALUE",
151
160
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
152
161
153
162
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
154
- --> $DIR/well-known-values.rs:59 :5
163
+ --> $DIR/well-known-values.rs:61 :5
155
164
|
156
165
LL | target_env = "_UNEXPECTED_VALUE",
157
166
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -160,7 +169,7 @@ LL | target_env = "_UNEXPECTED_VALUE",
160
169
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
161
170
162
171
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
163
- --> $DIR/well-known-values.rs:61 :5
172
+ --> $DIR/well-known-values.rs:63 :5
164
173
|
165
174
LL | target_family = "_UNEXPECTED_VALUE",
166
175
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -169,7 +178,7 @@ LL | target_family = "_UNEXPECTED_VALUE",
169
178
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
170
179
171
180
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
172
- --> $DIR/well-known-values.rs:65 :5
181
+ --> $DIR/well-known-values.rs:67 :5
173
182
|
174
183
LL | target_has_atomic = "_UNEXPECTED_VALUE",
175
184
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -178,7 +187,7 @@ LL | target_has_atomic = "_UNEXPECTED_VALUE",
178
187
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
179
188
180
189
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
181
- --> $DIR/well-known-values.rs:67 :5
190
+ --> $DIR/well-known-values.rs:69 :5
182
191
|
183
192
LL | target_has_atomic_equal_alignment = "_UNEXPECTED_VALUE",
184
193
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -187,7 +196,7 @@ LL | target_has_atomic_equal_alignment = "_UNEXPECTED_VALUE",
187
196
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
188
197
189
198
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
190
- --> $DIR/well-known-values.rs:69 :5
199
+ --> $DIR/well-known-values.rs:71 :5
191
200
|
192
201
LL | target_has_atomic_load_store = "_UNEXPECTED_VALUE",
193
202
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -196,7 +205,7 @@ LL | target_has_atomic_load_store = "_UNEXPECTED_VALUE",
196
205
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
197
206
198
207
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
199
- --> $DIR/well-known-values.rs:71 :5
208
+ --> $DIR/well-known-values.rs:73 :5
200
209
|
201
210
LL | target_os = "_UNEXPECTED_VALUE",
202
211
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -205,7 +214,7 @@ LL | target_os = "_UNEXPECTED_VALUE",
205
214
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
206
215
207
216
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
208
- --> $DIR/well-known-values.rs:73 :5
217
+ --> $DIR/well-known-values.rs:75 :5
209
218
|
210
219
LL | target_pointer_width = "_UNEXPECTED_VALUE",
211
220
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -214,7 +223,7 @@ LL | target_pointer_width = "_UNEXPECTED_VALUE",
214
223
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
215
224
216
225
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
217
- --> $DIR/well-known-values.rs:75 :5
226
+ --> $DIR/well-known-values.rs:77 :5
218
227
|
219
228
LL | target_thread_local = "_UNEXPECTED_VALUE",
220
229
| ^^^^^^^^^^^^^^^^^^^----------------------
@@ -225,7 +234,7 @@ LL | target_thread_local = "_UNEXPECTED_VALUE",
225
234
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
226
235
227
236
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
228
- --> $DIR/well-known-values.rs:77 :5
237
+ --> $DIR/well-known-values.rs:79 :5
229
238
|
230
239
LL | target_vendor = "_UNEXPECTED_VALUE",
231
240
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -234,7 +243,7 @@ LL | target_vendor = "_UNEXPECTED_VALUE",
234
243
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
235
244
236
245
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
237
- --> $DIR/well-known-values.rs:79 :5
246
+ --> $DIR/well-known-values.rs:81 :5
238
247
|
239
248
LL | ub_checks = "_UNEXPECTED_VALUE",
240
249
| ^^^^^^^^^----------------------
@@ -245,7 +254,7 @@ LL | ub_checks = "_UNEXPECTED_VALUE",
245
254
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
246
255
247
256
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
248
- --> $DIR/well-known-values.rs:81 :5
257
+ --> $DIR/well-known-values.rs:83 :5
249
258
|
250
259
LL | unix = "_UNEXPECTED_VALUE",
251
260
| ^^^^----------------------
@@ -256,7 +265,7 @@ LL | unix = "_UNEXPECTED_VALUE",
256
265
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
257
266
258
267
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
259
- --> $DIR/well-known-values.rs:83 :5
268
+ --> $DIR/well-known-values.rs:85 :5
260
269
|
261
270
LL | windows = "_UNEXPECTED_VALUE",
262
271
| ^^^^^^^----------------------
@@ -267,7 +276,7 @@ LL | windows = "_UNEXPECTED_VALUE",
267
276
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
268
277
269
278
warning: unexpected `cfg` condition value: `linuz`
270
- --> $DIR/well-known-values.rs:89 :7
279
+ --> $DIR/well-known-values.rs:91 :7
271
280
|
272
281
LL | #[cfg(target_os = "linuz")] // testing that we suggest `linux`
273
282
| ^^^^^^^^^^^^-------
@@ -277,5 +286,5 @@ LL | #[cfg(target_os = "linuz")] // testing that we suggest `linux`
277
286
= note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, `windows`, `xous`, and `zkvm`
278
287
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
279
288
280
- warning: 28 warnings emitted
289
+ warning: 29 warnings emitted
281
290
0 commit comments