@@ -128,60 +128,170 @@ error[E0425]: cannot find function `key_value_form` in this scope
128
128
|
129
129
LL | key_value_form();
130
130
| ^^^^^^^^^^^^^^ not found in this scope
131
+ |
132
+ note: found an item that was configured out
133
+ --> $DIR/syntax.rs:32:4
134
+ |
135
+ LL | fn key_value_form() {}
136
+ | ^^^^^^^^^^^^^^
137
+ note: the item is gated behind the `1.43` feature
138
+ --> $DIR/syntax.rs:30:7
139
+ |
140
+ LL | #[cfg(version = "1.43")]
141
+ | ^^^^^^^^^^^^^^^^
131
142
132
143
error[E0425]: cannot find function `not_numbers_or_periods` in this scope
133
144
--> $DIR/syntax.rs:143:5
134
145
|
135
146
LL | not_numbers_or_periods();
136
147
| ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
148
+ |
149
+ note: found an item that was configured out
150
+ --> $DIR/syntax.rs:53:4
151
+ |
152
+ LL | fn not_numbers_or_periods() {}
153
+ | ^^^^^^^^^^^^^^^^^^^^^^
154
+ note: the item is gated here
155
+ --> $DIR/syntax.rs:51:14
156
+ |
157
+ LL | #[cfg(version("foo"))]
158
+ | ^^^^^^^
137
159
138
160
error[E0425]: cannot find function `complex_semver_with_metadata` in this scope
139
161
--> $DIR/syntax.rs:144:5
140
162
|
141
163
LL | complex_semver_with_metadata();
142
164
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
165
+ |
166
+ note: found an item that was configured out
167
+ --> $DIR/syntax.rs:57:4
168
+ |
169
+ LL | fn complex_semver_with_metadata() {}
170
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
171
+ note: the item is gated here
172
+ --> $DIR/syntax.rs:55:14
173
+ |
174
+ LL | #[cfg(version("1.20.0-stable"))]
175
+ | ^^^^^^^^^^^^^^^^^
143
176
144
177
error[E0425]: cannot find function `invalid_major_only` in this scope
145
178
--> $DIR/syntax.rs:145:5
146
179
|
147
180
LL | invalid_major_only();
148
181
| ^^^^^^^^^^^^^^^^^^ not found in this scope
182
+ |
183
+ note: found an item that was configured out
184
+ --> $DIR/syntax.rs:80:4
185
+ |
186
+ LL | fn invalid_major_only() {}
187
+ | ^^^^^^^^^^^^^^^^^^
188
+ note: the item is gated here
189
+ --> $DIR/syntax.rs:78:14
190
+ |
191
+ LL | #[cfg(version("1"))]
192
+ | ^^^^^
149
193
150
194
error[E0425]: cannot find function `invalid_major_only_zero` in this scope
151
195
--> $DIR/syntax.rs:146:5
152
196
|
153
197
LL | invalid_major_only_zero();
154
198
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
199
+ |
200
+ note: found an item that was configured out
201
+ --> $DIR/syntax.rs:84:4
202
+ |
203
+ LL | fn invalid_major_only_zero() {}
204
+ | ^^^^^^^^^^^^^^^^^^^^^^^
205
+ note: the item is gated here
206
+ --> $DIR/syntax.rs:82:14
207
+ |
208
+ LL | #[cfg(version("0"))]
209
+ | ^^^^^
155
210
156
211
error[E0425]: cannot find function `invalid_major_only_negative` in this scope
157
212
--> $DIR/syntax.rs:147:5
158
213
|
159
214
LL | invalid_major_only_negative();
160
215
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
216
+ |
217
+ note: found an item that was configured out
218
+ --> $DIR/syntax.rs:97:4
219
+ |
220
+ LL | fn invalid_major_only_negative() {}
221
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
222
+ note: the item is gated here
223
+ --> $DIR/syntax.rs:95:14
224
+ |
225
+ LL | #[cfg(version("-1"))]
226
+ | ^^^^^^
161
227
162
228
error[E0425]: cannot find function `exceed_u16_major` in this scope
163
229
--> $DIR/syntax.rs:148:5
164
230
|
165
231
LL | exceed_u16_major();
166
232
| ^^^^^^^^^^^^^^^^ not found in this scope
233
+ |
234
+ note: found an item that was configured out
235
+ --> $DIR/syntax.rs:103:4
236
+ |
237
+ LL | fn exceed_u16_major() {}
238
+ | ^^^^^^^^^^^^^^^^
239
+ note: the item is gated here
240
+ --> $DIR/syntax.rs:101:14
241
+ |
242
+ LL | #[cfg(version("65536"))]
243
+ | ^^^^^^^^^
167
244
168
245
error[E0425]: cannot find function `exceed_u16_minor` in this scope
169
246
--> $DIR/syntax.rs:149:5
170
247
|
171
248
LL | exceed_u16_minor();
172
249
| ^^^^^^^^^^^^^^^^ not found in this scope
250
+ |
251
+ note: found an item that was configured out
252
+ --> $DIR/syntax.rs:107:4
253
+ |
254
+ LL | fn exceed_u16_minor() {}
255
+ | ^^^^^^^^^^^^^^^^
256
+ note: the item is gated here
257
+ --> $DIR/syntax.rs:105:14
258
+ |
259
+ LL | #[cfg(version("1.65536.0"))]
260
+ | ^^^^^^^^^^^^^
173
261
174
262
error[E0425]: cannot find function `exceed_u16_patch` in this scope
175
263
--> $DIR/syntax.rs:150:5
176
264
|
177
265
LL | exceed_u16_patch();
178
266
| ^^^^^^^^^^^^^^^^ not found in this scope
267
+ |
268
+ note: found an item that was configured out
269
+ --> $DIR/syntax.rs:111:4
270
+ |
271
+ LL | fn exceed_u16_patch() {}
272
+ | ^^^^^^^^^^^^^^^^
273
+ note: the item is gated here
274
+ --> $DIR/syntax.rs:109:14
275
+ |
276
+ LL | #[cfg(version("1.0.65536"))]
277
+ | ^^^^^^^^^^^^^
179
278
180
279
error[E0425]: cannot find function `exceed_u16_mixed` in this scope
181
280
--> $DIR/syntax.rs:151:5
182
281
|
183
282
LL | exceed_u16_mixed();
184
283
| ^^^^^^^^^^^^^^^^ not found in this scope
284
+ |
285
+ note: found an item that was configured out
286
+ --> $DIR/syntax.rs:115:4
287
+ |
288
+ LL | fn exceed_u16_mixed() {}
289
+ | ^^^^^^^^^^^^^^^^
290
+ note: the item is gated here
291
+ --> $DIR/syntax.rs:113:14
292
+ |
293
+ LL | #[cfg(version("65536.0.65536"))]
294
+ | ^^^^^^^^^^^^^^^^^
185
295
186
296
error: aborting due to 14 previous errors; 14 warnings emitted
187
297
0 commit comments