]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-abi.stderr
Limit efiapi calling convention to supported arches
[rust.git] / src / test / ui / feature-gates / feature-gate-abi.stderr
1 error[E0658]: intrinsics are subject to change
2   --> $DIR/feature-gate-abi.rs:15:8
3    |
4 LL | extern "rust-intrinsic" fn f1() {}
5    |        ^^^^^^^^^^^^^^^^
6    |
7    = help: add `#![feature(intrinsics)]` to the crate attributes to enable
8
9 error[E0658]: platform intrinsics are experimental and possibly buggy
10   --> $DIR/feature-gate-abi.rs:17:8
11    |
12 LL | extern "platform-intrinsic" fn f2() {}
13    |        ^^^^^^^^^^^^^^^^^^^^
14    |
15    = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
16    = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
17
18 error[E0658]: rust-call ABI is subject to change
19   --> $DIR/feature-gate-abi.rs:19:8
20    |
21 LL | extern "rust-call" fn f4(_: ()) {}
22    |        ^^^^^^^^^^^
23    |
24    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
25    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
26
27 error[E0658]: intrinsics are subject to change
28   --> $DIR/feature-gate-abi.rs:23:12
29    |
30 LL |     extern "rust-intrinsic" fn m1();
31    |            ^^^^^^^^^^^^^^^^
32    |
33    = help: add `#![feature(intrinsics)]` to the crate attributes to enable
34
35 error[E0658]: platform intrinsics are experimental and possibly buggy
36   --> $DIR/feature-gate-abi.rs:25:12
37    |
38 LL |     extern "platform-intrinsic" fn m2();
39    |            ^^^^^^^^^^^^^^^^^^^^
40    |
41    = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
42    = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
43
44 error[E0658]: rust-call ABI is subject to change
45   --> $DIR/feature-gate-abi.rs:27:12
46    |
47 LL |     extern "rust-call" fn m4(_: ());
48    |            ^^^^^^^^^^^
49    |
50    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
51    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
52
53 error[E0658]: rust-call ABI is subject to change
54   --> $DIR/feature-gate-abi.rs:29:12
55    |
56 LL |     extern "rust-call" fn dm4(_: ()) {}
57    |            ^^^^^^^^^^^
58    |
59    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
60    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
61
62 error[E0658]: intrinsics are subject to change
63   --> $DIR/feature-gate-abi.rs:36:12
64    |
65 LL |     extern "rust-intrinsic" fn m1() {}
66    |            ^^^^^^^^^^^^^^^^
67    |
68    = help: add `#![feature(intrinsics)]` to the crate attributes to enable
69
70 error[E0658]: platform intrinsics are experimental and possibly buggy
71   --> $DIR/feature-gate-abi.rs:38:12
72    |
73 LL |     extern "platform-intrinsic" fn m2() {}
74    |            ^^^^^^^^^^^^^^^^^^^^
75    |
76    = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
77    = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
78
79 error[E0658]: rust-call ABI is subject to change
80   --> $DIR/feature-gate-abi.rs:40:12
81    |
82 LL |     extern "rust-call" fn m4(_: ()) {}
83    |            ^^^^^^^^^^^
84    |
85    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
86    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
87
88 error[E0658]: intrinsics are subject to change
89   --> $DIR/feature-gate-abi.rs:45:12
90    |
91 LL |     extern "rust-intrinsic" fn im1() {}
92    |            ^^^^^^^^^^^^^^^^
93    |
94    = help: add `#![feature(intrinsics)]` to the crate attributes to enable
95
96 error[E0658]: platform intrinsics are experimental and possibly buggy
97   --> $DIR/feature-gate-abi.rs:47:12
98    |
99 LL |     extern "platform-intrinsic" fn im2() {}
100    |            ^^^^^^^^^^^^^^^^^^^^
101    |
102    = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
103    = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
104
105 error[E0658]: rust-call ABI is subject to change
106   --> $DIR/feature-gate-abi.rs:49:12
107    |
108 LL |     extern "rust-call" fn im4(_: ()) {}
109    |            ^^^^^^^^^^^
110    |
111    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
112    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
113
114 error[E0658]: intrinsics are subject to change
115   --> $DIR/feature-gate-abi.rs:53:18
116    |
117 LL | type A1 = extern "rust-intrinsic" fn();
118    |                  ^^^^^^^^^^^^^^^^
119    |
120    = help: add `#![feature(intrinsics)]` to the crate attributes to enable
121
122 error[E0658]: platform intrinsics are experimental and possibly buggy
123   --> $DIR/feature-gate-abi.rs:54:18
124    |
125 LL | type A2 = extern "platform-intrinsic" fn();
126    |                  ^^^^^^^^^^^^^^^^^^^^
127    |
128    = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
129    = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
130
131 error[E0658]: rust-call ABI is subject to change
132   --> $DIR/feature-gate-abi.rs:55:18
133    |
134 LL | type A4 = extern "rust-call" fn(_: ());
135    |                  ^^^^^^^^^^^
136    |
137    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
138    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
139
140 error[E0658]: intrinsics are subject to change
141   --> $DIR/feature-gate-abi.rs:58:8
142    |
143 LL | extern "rust-intrinsic" {}
144    |        ^^^^^^^^^^^^^^^^
145    |
146    = help: add `#![feature(intrinsics)]` to the crate attributes to enable
147
148 error[E0658]: platform intrinsics are experimental and possibly buggy
149   --> $DIR/feature-gate-abi.rs:59:8
150    |
151 LL | extern "platform-intrinsic" {}
152    |        ^^^^^^^^^^^^^^^^^^^^
153    |
154    = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
155    = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
156
157 error[E0658]: rust-call ABI is subject to change
158   --> $DIR/feature-gate-abi.rs:60:8
159    |
160 LL | extern "rust-call" {}
161    |        ^^^^^^^^^^^
162    |
163    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
164    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
165
166 error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
167   --> $DIR/feature-gate-abi.rs:23:32
168    |
169 LL |     extern "rust-intrinsic" fn m1();
170    |                                ^^
171
172 error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
173   --> $DIR/feature-gate-abi.rs:25:36
174    |
175 LL |     extern "platform-intrinsic" fn m2();
176    |                                    ^^
177
178 error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
179   --> $DIR/feature-gate-abi.rs:15:33
180    |
181 LL | extern "rust-intrinsic" fn f1() {}
182    |                                 ^^
183
184 error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
185   --> $DIR/feature-gate-abi.rs:17:37
186    |
187 LL | extern "platform-intrinsic" fn f2() {}
188    |                                     ^^
189
190 error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
191   --> $DIR/feature-gate-abi.rs:36:37
192    |
193 LL |     extern "rust-intrinsic" fn m1() {}
194    |                                     ^^
195
196 error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
197   --> $DIR/feature-gate-abi.rs:38:41
198    |
199 LL |     extern "platform-intrinsic" fn m2() {}
200    |                                         ^^
201
202 error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
203   --> $DIR/feature-gate-abi.rs:45:38
204    |
205 LL |     extern "rust-intrinsic" fn im1() {}
206    |                                      ^^
207
208 error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
209   --> $DIR/feature-gate-abi.rs:47:42
210    |
211 LL |     extern "platform-intrinsic" fn im2() {}
212    |                                          ^^
213
214 error: aborting due to 27 previous errors
215
216 For more information about this error, try `rustc --explain E0658`.