fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
23.4 KiB643 linesraw
1error[E0658]: intrinsics are subject to change
2  --> $DIR/feature-gate-abi.rs:13:1
3   |
4LL | extern "rust-intrinsic" fn f1() {}
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = help: add `#![feature(intrinsics)]` to the crate attributes to enable
8
9error[E0658]: platform intrinsics are experimental and possibly buggy
10  --> $DIR/feature-gate-abi.rs:15:1
11   |
12LL | extern "platform-intrinsic" fn f2() {}
13   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14   |
15   = note: for more information, see https://github.com/rust-lang/rust/issues/27731
16   = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
17
18error[E0658]: vectorcall is experimental and subject to change
19  --> $DIR/feature-gate-abi.rs:17:1
20   |
21LL | extern "vectorcall" fn f3() {}
22   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23   |
24   = help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
25
26error[E0658]: rust-call ABI is subject to change
27  --> $DIR/feature-gate-abi.rs:18:1
28   |
29LL | extern "rust-call" fn f4() {}
30   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31   |
32   = note: for more information, see https://github.com/rust-lang/rust/issues/29625
33   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
34
35error[E0658]: msp430-interrupt ABI is experimental and subject to change
36  --> $DIR/feature-gate-abi.rs:19:1
37   |
38LL | extern "msp430-interrupt" fn f5() {}
39   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
40   |
41   = note: for more information, see https://github.com/rust-lang/rust/issues/38487
42   = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable
43
44error[E0658]: PTX ABIs are experimental and subject to change
45  --> $DIR/feature-gate-abi.rs:20:1
46   |
47LL | extern "ptx-kernel" fn f6() {}
48   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
49   |
50   = note: for more information, see https://github.com/rust-lang/rust/issues/38788
51   = help: add `#![feature(abi_ptx)]` to the crate attributes to enable
52
53error[E0658]: x86-interrupt ABI is experimental and subject to change
54  --> $DIR/feature-gate-abi.rs:21:1
55   |
56LL | extern "x86-interrupt" fn f7() {}
57   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
58   |
59   = note: for more information, see https://github.com/rust-lang/rust/issues/40180
60   = help: add `#![feature(abi_x86_interrupt)]` to the crate attributes to enable
61
62error[E0658]: thiscall is experimental and subject to change
63  --> $DIR/feature-gate-abi.rs:22:1
64   |
65LL | extern "thiscall" fn f8() {}
66   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
67   |
68   = help: add `#![feature(abi_thiscall)]` to the crate attributes to enable
69
70error[E0658]: amdgpu-kernel ABI is experimental and subject to change
71  --> $DIR/feature-gate-abi.rs:23:1
72   |
73LL | extern "amdgpu-kernel" fn f9() {}
74   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
75   |
76   = note: for more information, see https://github.com/rust-lang/rust/issues/51575
77   = help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable
78
79error[E0658]: efiapi ABI is experimental and subject to change
80  --> $DIR/feature-gate-abi.rs:24:1
81   |
82LL | extern "efiapi" fn f10() {}
83   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
84   |
85   = note: for more information, see https://github.com/rust-lang/rust/issues/65815
86   = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable
87
88error[E0658]: intrinsics are subject to change
89  --> $DIR/feature-gate-abi.rs:28:5
90   |
91LL |     extern "rust-intrinsic" fn m1();
92   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
93   |
94   = help: add `#![feature(intrinsics)]` to the crate attributes to enable
95
96error[E0658]: platform intrinsics are experimental and possibly buggy
97  --> $DIR/feature-gate-abi.rs:30:5
98   |
99LL |     extern "platform-intrinsic" fn m2();
100   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
101   |
102   = note: for more information, see https://github.com/rust-lang/rust/issues/27731
103   = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
104
105error[E0658]: vectorcall is experimental and subject to change
106  --> $DIR/feature-gate-abi.rs:32:5
107   |
108LL |     extern "vectorcall" fn m3();
109   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
110   |
111   = help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
112
113error[E0658]: rust-call ABI is subject to change
114  --> $DIR/feature-gate-abi.rs:33:5
115   |
116LL |     extern "rust-call" fn m4();
117   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
118   |
119   = note: for more information, see https://github.com/rust-lang/rust/issues/29625
120   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
121
122error[E0658]: msp430-interrupt ABI is experimental and subject to change
123  --> $DIR/feature-gate-abi.rs:34:5
124   |
125LL |     extern "msp430-interrupt" fn m5();
126   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127   |
128   = note: for more information, see https://github.com/rust-lang/rust/issues/38487
129   = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable
130
131error[E0658]: PTX ABIs are experimental and subject to change
132  --> $DIR/feature-gate-abi.rs:35:5
133   |
134LL |     extern "ptx-kernel" fn m6();
135   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
136   |
137   = note: for more information, see https://github.com/rust-lang/rust/issues/38788
138   = help: add `#![feature(abi_ptx)]` to the crate attributes to enable
139
140error[E0658]: x86-interrupt ABI is experimental and subject to change
141  --> $DIR/feature-gate-abi.rs:36:5
142   |
143LL |     extern "x86-interrupt" fn m7();
144   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
145   |
146   = note: for more information, see https://github.com/rust-lang/rust/issues/40180
147   = help: add `#![feature(abi_x86_interrupt)]` to the crate attributes to enable
148
149error[E0658]: thiscall is experimental and subject to change
150  --> $DIR/feature-gate-abi.rs:37:5
151   |
152LL |     extern "thiscall" fn m8();
153   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
154   |
155   = help: add `#![feature(abi_thiscall)]` to the crate attributes to enable
156
157error[E0658]: amdgpu-kernel ABI is experimental and subject to change
158  --> $DIR/feature-gate-abi.rs:38:5
159   |
160LL |     extern "amdgpu-kernel" fn m9();
161   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
162   |
163   = note: for more information, see https://github.com/rust-lang/rust/issues/51575
164   = help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable
165
166error[E0658]: efiapi ABI is experimental and subject to change
167  --> $DIR/feature-gate-abi.rs:39:5
168   |
169LL |     extern "efiapi" fn m10();
170   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
171   |
172   = note: for more information, see https://github.com/rust-lang/rust/issues/65815
173   = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable
174
175error[E0658]: vectorcall is experimental and subject to change
176  --> $DIR/feature-gate-abi.rs:41:5
177   |
178LL |     extern "vectorcall" fn dm3() {}
179   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
180   |
181   = help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
182
183error[E0658]: rust-call ABI is subject to change
184  --> $DIR/feature-gate-abi.rs:42:5
185   |
186LL |     extern "rust-call" fn dm4() {}
187   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
188   |
189   = note: for more information, see https://github.com/rust-lang/rust/issues/29625
190   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
191
192error[E0658]: msp430-interrupt ABI is experimental and subject to change
193  --> $DIR/feature-gate-abi.rs:43:5
194   |
195LL |     extern "msp430-interrupt" fn dm5() {}
196   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
197   |
198   = note: for more information, see https://github.com/rust-lang/rust/issues/38487
199   = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable
200
201error[E0658]: PTX ABIs are experimental and subject to change
202  --> $DIR/feature-gate-abi.rs:44:5
203   |
204LL |     extern "ptx-kernel" fn dm6() {}
205   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
206   |
207   = note: for more information, see https://github.com/rust-lang/rust/issues/38788
208   = help: add `#![feature(abi_ptx)]` to the crate attributes to enable
209
210error[E0658]: x86-interrupt ABI is experimental and subject to change
211  --> $DIR/feature-gate-abi.rs:45:5
212   |
213LL |     extern "x86-interrupt" fn dm7() {}
214   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
215   |
216   = note: for more information, see https://github.com/rust-lang/rust/issues/40180
217   = help: add `#![feature(abi_x86_interrupt)]` to the crate attributes to enable
218
219error[E0658]: thiscall is experimental and subject to change
220  --> $DIR/feature-gate-abi.rs:46:5
221   |
222LL |     extern "thiscall" fn dm8() {}
223   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
224   |
225   = help: add `#![feature(abi_thiscall)]` to the crate attributes to enable
226
227error[E0658]: amdgpu-kernel ABI is experimental and subject to change
228  --> $DIR/feature-gate-abi.rs:47:5
229   |
230LL |     extern "amdgpu-kernel" fn dm9() {}
231   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
232   |
233   = note: for more information, see https://github.com/rust-lang/rust/issues/51575
234   = help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable
235
236error[E0658]: efiapi ABI is experimental and subject to change
237  --> $DIR/feature-gate-abi.rs:48:5
238   |
239LL |     extern "efiapi" fn dm10() {}
240   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
241   |
242   = note: for more information, see https://github.com/rust-lang/rust/issues/65815
243   = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable
244
245error[E0658]: intrinsics are subject to change
246  --> $DIR/feature-gate-abi.rs:55:5
247   |
248LL |     extern "rust-intrinsic" fn m1() {}
249   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
250   |
251   = help: add `#![feature(intrinsics)]` to the crate attributes to enable
252
253error[E0658]: platform intrinsics are experimental and possibly buggy
254  --> $DIR/feature-gate-abi.rs:57:5
255   |
256LL |     extern "platform-intrinsic" fn m2() {}
257   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
258   |
259   = note: for more information, see https://github.com/rust-lang/rust/issues/27731
260   = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
261
262error[E0658]: vectorcall is experimental and subject to change
263  --> $DIR/feature-gate-abi.rs:59:5
264   |
265LL |     extern "vectorcall" fn m3() {}
266   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
267   |
268   = help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
269
270error[E0658]: rust-call ABI is subject to change
271  --> $DIR/feature-gate-abi.rs:60:5
272   |
273LL |     extern "rust-call" fn m4() {}
274   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
275   |
276   = note: for more information, see https://github.com/rust-lang/rust/issues/29625
277   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
278
279error[E0658]: msp430-interrupt ABI is experimental and subject to change
280  --> $DIR/feature-gate-abi.rs:61:5
281   |
282LL |     extern "msp430-interrupt" fn m5() {}
283   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
284   |
285   = note: for more information, see https://github.com/rust-lang/rust/issues/38487
286   = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable
287
288error[E0658]: PTX ABIs are experimental and subject to change
289  --> $DIR/feature-gate-abi.rs:62:5
290   |
291LL |     extern "ptx-kernel" fn m6() {}
292   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
293   |
294   = note: for more information, see https://github.com/rust-lang/rust/issues/38788
295   = help: add `#![feature(abi_ptx)]` to the crate attributes to enable
296
297error[E0658]: x86-interrupt ABI is experimental and subject to change
298  --> $DIR/feature-gate-abi.rs:63:5
299   |
300LL |     extern "x86-interrupt" fn m7() {}
301   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
302   |
303   = note: for more information, see https://github.com/rust-lang/rust/issues/40180
304   = help: add `#![feature(abi_x86_interrupt)]` to the crate attributes to enable
305
306error[E0658]: thiscall is experimental and subject to change
307  --> $DIR/feature-gate-abi.rs:64:5
308   |
309LL |     extern "thiscall" fn m8() {}
310   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
311   |
312   = help: add `#![feature(abi_thiscall)]` to the crate attributes to enable
313
314error[E0658]: amdgpu-kernel ABI is experimental and subject to change
315  --> $DIR/feature-gate-abi.rs:65:5
316   |
317LL |     extern "amdgpu-kernel" fn m9() {}
318   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
319   |
320   = note: for more information, see https://github.com/rust-lang/rust/issues/51575
321   = help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable
322
323error[E0658]: efiapi ABI is experimental and subject to change
324  --> $DIR/feature-gate-abi.rs:66:5
325   |
326LL |     extern "efiapi" fn m10() {}
327   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
328   |
329   = note: for more information, see https://github.com/rust-lang/rust/issues/65815
330   = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable
331
332error[E0658]: intrinsics are subject to change
333  --> $DIR/feature-gate-abi.rs:71:5
334   |
335LL |     extern "rust-intrinsic" fn im1() {}
336   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
337   |
338   = help: add `#![feature(intrinsics)]` to the crate attributes to enable
339
340error[E0658]: platform intrinsics are experimental and possibly buggy
341  --> $DIR/feature-gate-abi.rs:73:5
342   |
343LL |     extern "platform-intrinsic" fn im2() {}
344   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
345   |
346   = note: for more information, see https://github.com/rust-lang/rust/issues/27731
347   = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
348
349error[E0658]: vectorcall is experimental and subject to change
350  --> $DIR/feature-gate-abi.rs:75:5
351   |
352LL |     extern "vectorcall" fn im3() {}
353   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
354   |
355   = help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
356
357error[E0658]: rust-call ABI is subject to change
358  --> $DIR/feature-gate-abi.rs:76:5
359   |
360LL |     extern "rust-call" fn im4() {}
361   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
362   |
363   = note: for more information, see https://github.com/rust-lang/rust/issues/29625
364   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
365
366error[E0658]: msp430-interrupt ABI is experimental and subject to change
367  --> $DIR/feature-gate-abi.rs:77:5
368   |
369LL |     extern "msp430-interrupt" fn im5() {}
370   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
371   |
372   = note: for more information, see https://github.com/rust-lang/rust/issues/38487
373   = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable
374
375error[E0658]: PTX ABIs are experimental and subject to change
376  --> $DIR/feature-gate-abi.rs:78:5
377   |
378LL |     extern "ptx-kernel" fn im6() {}
379   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
380   |
381   = note: for more information, see https://github.com/rust-lang/rust/issues/38788
382   = help: add `#![feature(abi_ptx)]` to the crate attributes to enable
383
384error[E0658]: x86-interrupt ABI is experimental and subject to change
385  --> $DIR/feature-gate-abi.rs:79:5
386   |
387LL |     extern "x86-interrupt" fn im7() {}
388   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
389   |
390   = note: for more information, see https://github.com/rust-lang/rust/issues/40180
391   = help: add `#![feature(abi_x86_interrupt)]` to the crate attributes to enable
392
393error[E0658]: thiscall is experimental and subject to change
394  --> $DIR/feature-gate-abi.rs:80:5
395   |
396LL |     extern "thiscall" fn im8() {}
397   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
398   |
399   = help: add `#![feature(abi_thiscall)]` to the crate attributes to enable
400
401error[E0658]: amdgpu-kernel ABI is experimental and subject to change
402  --> $DIR/feature-gate-abi.rs:81:5
403   |
404LL |     extern "amdgpu-kernel" fn im9() {}
405   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
406   |
407   = note: for more information, see https://github.com/rust-lang/rust/issues/51575
408   = help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable
409
410error[E0658]: efiapi ABI is experimental and subject to change
411  --> $DIR/feature-gate-abi.rs:82:5
412   |
413LL |     extern "efiapi" fn im10() {}
414   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
415   |
416   = note: for more information, see https://github.com/rust-lang/rust/issues/65815
417   = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable
418
419error[E0658]: intrinsics are subject to change
420  --> $DIR/feature-gate-abi.rs:86:11
421   |
422LL | type A1 = extern "rust-intrinsic" fn();
423   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
424   |
425   = help: add `#![feature(intrinsics)]` to the crate attributes to enable
426
427error[E0658]: platform intrinsics are experimental and possibly buggy
428  --> $DIR/feature-gate-abi.rs:87:11
429   |
430LL | type A2 = extern "platform-intrinsic" fn();
431   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
432   |
433   = note: for more information, see https://github.com/rust-lang/rust/issues/27731
434   = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
435
436error[E0658]: vectorcall is experimental and subject to change
437  --> $DIR/feature-gate-abi.rs:88:11
438   |
439LL | type A3 = extern "vectorcall" fn();
440   |           ^^^^^^^^^^^^^^^^^^^^^^^^
441   |
442   = help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
443
444error[E0658]: rust-call ABI is subject to change
445  --> $DIR/feature-gate-abi.rs:89:11
446   |
447LL | type A4 = extern "rust-call" fn();
448   |           ^^^^^^^^^^^^^^^^^^^^^^^
449   |
450   = note: for more information, see https://github.com/rust-lang/rust/issues/29625
451   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
452
453error[E0658]: msp430-interrupt ABI is experimental and subject to change
454  --> $DIR/feature-gate-abi.rs:90:11
455   |
456LL | type A5 = extern "msp430-interrupt" fn();
457   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
458   |
459   = note: for more information, see https://github.com/rust-lang/rust/issues/38487
460   = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable
461
462error[E0658]: PTX ABIs are experimental and subject to change
463  --> $DIR/feature-gate-abi.rs:91:11
464   |
465LL | type A6 = extern "ptx-kernel" fn ();
466   |           ^^^^^^^^^^^^^^^^^^^^^^^^^
467   |
468   = note: for more information, see https://github.com/rust-lang/rust/issues/38788
469   = help: add `#![feature(abi_ptx)]` to the crate attributes to enable
470
471error[E0658]: x86-interrupt ABI is experimental and subject to change
472  --> $DIR/feature-gate-abi.rs:92:11
473   |
474LL | type A7 = extern "x86-interrupt" fn();
475   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
476   |
477   = note: for more information, see https://github.com/rust-lang/rust/issues/40180
478   = help: add `#![feature(abi_x86_interrupt)]` to the crate attributes to enable
479
480error[E0658]: thiscall is experimental and subject to change
481  --> $DIR/feature-gate-abi.rs:93:11
482   |
483LL | type A8 = extern "thiscall" fn();
484   |           ^^^^^^^^^^^^^^^^^^^^^^
485   |
486   = help: add `#![feature(abi_thiscall)]` to the crate attributes to enable
487
488error[E0658]: amdgpu-kernel ABI is experimental and subject to change
489  --> $DIR/feature-gate-abi.rs:94:11
490   |
491LL | type A9 = extern "amdgpu-kernel" fn();
492   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
493   |
494   = note: for more information, see https://github.com/rust-lang/rust/issues/51575
495   = help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable
496
497error[E0658]: efiapi ABI is experimental and subject to change
498  --> $DIR/feature-gate-abi.rs:95:12
499   |
500LL | type A10 = extern "efiapi" fn();
501   |            ^^^^^^^^^^^^^^^^^^^^
502   |
503   = note: for more information, see https://github.com/rust-lang/rust/issues/65815
504   = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable
505
506error[E0658]: intrinsics are subject to change
507  --> $DIR/feature-gate-abi.rs:98:1
508   |
509LL | extern "rust-intrinsic" {}
510   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
511   |
512   = help: add `#![feature(intrinsics)]` to the crate attributes to enable
513
514error[E0658]: platform intrinsics are experimental and possibly buggy
515  --> $DIR/feature-gate-abi.rs:99:1
516   |
517LL | extern "platform-intrinsic" {}
518   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
519   |
520   = note: for more information, see https://github.com/rust-lang/rust/issues/27731
521   = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
522
523error[E0658]: vectorcall is experimental and subject to change
524  --> $DIR/feature-gate-abi.rs:100:1
525   |
526LL | extern "vectorcall" {}
527   | ^^^^^^^^^^^^^^^^^^^^^^
528   |
529   = help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
530
531error[E0658]: rust-call ABI is subject to change
532  --> $DIR/feature-gate-abi.rs:101:1
533   |
534LL | extern "rust-call" {}
535   | ^^^^^^^^^^^^^^^^^^^^^
536   |
537   = note: for more information, see https://github.com/rust-lang/rust/issues/29625
538   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
539
540error[E0658]: msp430-interrupt ABI is experimental and subject to change
541  --> $DIR/feature-gate-abi.rs:102:1
542   |
543LL | extern "msp430-interrupt" {}
544   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
545   |
546   = note: for more information, see https://github.com/rust-lang/rust/issues/38487
547   = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable
548
549error[E0658]: PTX ABIs are experimental and subject to change
550  --> $DIR/feature-gate-abi.rs:103:1
551   |
552LL | extern "ptx-kernel" {}
553   | ^^^^^^^^^^^^^^^^^^^^^^
554   |
555   = note: for more information, see https://github.com/rust-lang/rust/issues/38788
556   = help: add `#![feature(abi_ptx)]` to the crate attributes to enable
557
558error[E0658]: x86-interrupt ABI is experimental and subject to change
559  --> $DIR/feature-gate-abi.rs:104:1
560   |
561LL | extern "x86-interrupt" {}
562   | ^^^^^^^^^^^^^^^^^^^^^^^^^
563   |
564   = note: for more information, see https://github.com/rust-lang/rust/issues/40180
565   = help: add `#![feature(abi_x86_interrupt)]` to the crate attributes to enable
566
567error[E0658]: thiscall is experimental and subject to change
568  --> $DIR/feature-gate-abi.rs:105:1
569   |
570LL | extern "thiscall" {}
571   | ^^^^^^^^^^^^^^^^^^^^
572   |
573   = help: add `#![feature(abi_thiscall)]` to the crate attributes to enable
574
575error[E0658]: amdgpu-kernel ABI is experimental and subject to change
576  --> $DIR/feature-gate-abi.rs:106:1
577   |
578LL | extern "amdgpu-kernel" {}
579   | ^^^^^^^^^^^^^^^^^^^^^^^^^
580   |
581   = note: for more information, see https://github.com/rust-lang/rust/issues/51575
582   = help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable
583
584error[E0658]: efiapi ABI is experimental and subject to change
585  --> $DIR/feature-gate-abi.rs:107:1
586   |
587LL | extern "efiapi" {}
588   | ^^^^^^^^^^^^^^^^^^
589   |
590   = note: for more information, see https://github.com/rust-lang/rust/issues/65815
591   = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable
592
593error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
594  --> $DIR/feature-gate-abi.rs:28:32
595   |
596LL |     extern "rust-intrinsic" fn m1();
597   |                                ^^
598
599error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
600  --> $DIR/feature-gate-abi.rs:30:36
601   |
602LL |     extern "platform-intrinsic" fn m2();
603   |                                    ^^
604
605error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
606  --> $DIR/feature-gate-abi.rs:13:33
607   |
608LL | extern "rust-intrinsic" fn f1() {}
609   |                                 ^^
610
611error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
612  --> $DIR/feature-gate-abi.rs:15:37
613   |
614LL | extern "platform-intrinsic" fn f2() {}
615   |                                     ^^
616
617error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
618  --> $DIR/feature-gate-abi.rs:55:37
619   |
620LL |     extern "rust-intrinsic" fn m1() {}
621   |                                     ^^
622
623error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
624  --> $DIR/feature-gate-abi.rs:57:41
625   |
626LL |     extern "platform-intrinsic" fn m2() {}
627   |                                         ^^
628
629error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
630  --> $DIR/feature-gate-abi.rs:71:38
631   |
632LL |     extern "rust-intrinsic" fn im1() {}
633   |                                      ^^
634
635error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
636  --> $DIR/feature-gate-abi.rs:73:42
637   |
638LL |     extern "platform-intrinsic" fn im2() {}
639   |                                          ^^
640
641error: aborting due to 76 previous errors
642
643For more information about this error, try `rustc --explain E0658`.