]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-abi.stderr
parser will not give wrong help message for 'public'
[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:13: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:15: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:17: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]: efiapi ABI is experimental and subject to change
28   --> $DIR/feature-gate-abi.rs:18:8
29    |
30 LL | extern "efiapi" fn f10() {}
31    |        ^^^^^^^^
32    |
33    = note: see issue #65815 <https://github.com/rust-lang/rust/issues/65815> for more information
34    = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable
35
36 error[E0658]: intrinsics are subject to change
37   --> $DIR/feature-gate-abi.rs:22:12
38    |
39 LL |     extern "rust-intrinsic" fn m1();
40    |            ^^^^^^^^^^^^^^^^
41    |
42    = help: add `#![feature(intrinsics)]` to the crate attributes to enable
43
44 error[E0658]: platform intrinsics are experimental and possibly buggy
45   --> $DIR/feature-gate-abi.rs:24:12
46    |
47 LL |     extern "platform-intrinsic" fn m2();
48    |            ^^^^^^^^^^^^^^^^^^^^
49    |
50    = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
51    = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
52
53 error[E0658]: rust-call ABI is subject to change
54   --> $DIR/feature-gate-abi.rs:26:12
55    |
56 LL |     extern "rust-call" fn m4(_: ());
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]: efiapi ABI is experimental and subject to change
63   --> $DIR/feature-gate-abi.rs:27:12
64    |
65 LL |     extern "efiapi" fn m10();
66    |            ^^^^^^^^
67    |
68    = note: see issue #65815 <https://github.com/rust-lang/rust/issues/65815> for more information
69    = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable
70
71 error[E0658]: rust-call ABI is subject to change
72   --> $DIR/feature-gate-abi.rs:29:12
73    |
74 LL |     extern "rust-call" fn dm4(_: ()) {}
75    |            ^^^^^^^^^^^
76    |
77    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
78    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
79
80 error[E0658]: efiapi ABI is experimental and subject to change
81   --> $DIR/feature-gate-abi.rs:30:12
82    |
83 LL |     extern "efiapi" fn dm10() {}
84    |            ^^^^^^^^
85    |
86    = note: see issue #65815 <https://github.com/rust-lang/rust/issues/65815> for more information
87    = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable
88
89 error[E0658]: intrinsics are subject to change
90   --> $DIR/feature-gate-abi.rs:37:12
91    |
92 LL |     extern "rust-intrinsic" fn m1() {}
93    |            ^^^^^^^^^^^^^^^^
94    |
95    = help: add `#![feature(intrinsics)]` to the crate attributes to enable
96
97 error[E0658]: platform intrinsics are experimental and possibly buggy
98   --> $DIR/feature-gate-abi.rs:39:12
99    |
100 LL |     extern "platform-intrinsic" fn m2() {}
101    |            ^^^^^^^^^^^^^^^^^^^^
102    |
103    = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
104    = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
105
106 error[E0658]: rust-call ABI is subject to change
107   --> $DIR/feature-gate-abi.rs:41:12
108    |
109 LL |     extern "rust-call" fn m4(_: ()) {}
110    |            ^^^^^^^^^^^
111    |
112    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
113    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
114
115 error[E0658]: efiapi ABI is experimental and subject to change
116   --> $DIR/feature-gate-abi.rs:42:12
117    |
118 LL |     extern "efiapi" fn m10() {}
119    |            ^^^^^^^^
120    |
121    = note: see issue #65815 <https://github.com/rust-lang/rust/issues/65815> for more information
122    = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable
123
124 error[E0658]: intrinsics are subject to change
125   --> $DIR/feature-gate-abi.rs:47:12
126    |
127 LL |     extern "rust-intrinsic" fn im1() {}
128    |            ^^^^^^^^^^^^^^^^
129    |
130    = help: add `#![feature(intrinsics)]` to the crate attributes to enable
131
132 error[E0658]: platform intrinsics are experimental and possibly buggy
133   --> $DIR/feature-gate-abi.rs:49:12
134    |
135 LL |     extern "platform-intrinsic" fn im2() {}
136    |            ^^^^^^^^^^^^^^^^^^^^
137    |
138    = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
139    = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
140
141 error[E0658]: rust-call ABI is subject to change
142   --> $DIR/feature-gate-abi.rs:51:12
143    |
144 LL |     extern "rust-call" fn im4(_: ()) {}
145    |            ^^^^^^^^^^^
146    |
147    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
148    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
149
150 error[E0658]: efiapi ABI is experimental and subject to change
151   --> $DIR/feature-gate-abi.rs:52:12
152    |
153 LL |     extern "efiapi" fn im10() {}
154    |            ^^^^^^^^
155    |
156    = note: see issue #65815 <https://github.com/rust-lang/rust/issues/65815> for more information
157    = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable
158
159 error[E0658]: intrinsics are subject to change
160   --> $DIR/feature-gate-abi.rs:56:18
161    |
162 LL | type A1 = extern "rust-intrinsic" fn();
163    |                  ^^^^^^^^^^^^^^^^
164    |
165    = help: add `#![feature(intrinsics)]` to the crate attributes to enable
166
167 error[E0658]: platform intrinsics are experimental and possibly buggy
168   --> $DIR/feature-gate-abi.rs:57:18
169    |
170 LL | type A2 = extern "platform-intrinsic" fn();
171    |                  ^^^^^^^^^^^^^^^^^^^^
172    |
173    = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
174    = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
175
176 error[E0658]: rust-call ABI is subject to change
177   --> $DIR/feature-gate-abi.rs:58:18
178    |
179 LL | type A4 = extern "rust-call" fn(_: ());
180    |                  ^^^^^^^^^^^
181    |
182    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
183    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
184
185 error[E0658]: efiapi ABI is experimental and subject to change
186   --> $DIR/feature-gate-abi.rs:59:19
187    |
188 LL | type A10 = extern "efiapi" fn();
189    |                   ^^^^^^^^
190    |
191    = note: see issue #65815 <https://github.com/rust-lang/rust/issues/65815> for more information
192    = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable
193
194 error[E0658]: intrinsics are subject to change
195   --> $DIR/feature-gate-abi.rs:62:8
196    |
197 LL | extern "rust-intrinsic" {}
198    |        ^^^^^^^^^^^^^^^^
199    |
200    = help: add `#![feature(intrinsics)]` to the crate attributes to enable
201
202 error[E0658]: platform intrinsics are experimental and possibly buggy
203   --> $DIR/feature-gate-abi.rs:63:8
204    |
205 LL | extern "platform-intrinsic" {}
206    |        ^^^^^^^^^^^^^^^^^^^^
207    |
208    = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
209    = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
210
211 error[E0658]: rust-call ABI is subject to change
212   --> $DIR/feature-gate-abi.rs:64:8
213    |
214 LL | extern "rust-call" {}
215    |        ^^^^^^^^^^^
216    |
217    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
218    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
219
220 error[E0658]: efiapi ABI is experimental and subject to change
221   --> $DIR/feature-gate-abi.rs:65:8
222    |
223 LL | extern "efiapi" {}
224    |        ^^^^^^^^
225    |
226    = note: see issue #65815 <https://github.com/rust-lang/rust/issues/65815> for more information
227    = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable
228
229 error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
230   --> $DIR/feature-gate-abi.rs:22:32
231    |
232 LL |     extern "rust-intrinsic" fn m1();
233    |                                ^^
234
235 error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
236   --> $DIR/feature-gate-abi.rs:24:36
237    |
238 LL |     extern "platform-intrinsic" fn m2();
239    |                                    ^^
240
241 error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
242   --> $DIR/feature-gate-abi.rs:13:33
243    |
244 LL | extern "rust-intrinsic" fn f1() {}
245    |                                 ^^
246
247 error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
248   --> $DIR/feature-gate-abi.rs:15:37
249    |
250 LL | extern "platform-intrinsic" fn f2() {}
251    |                                     ^^
252
253 error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
254   --> $DIR/feature-gate-abi.rs:37:37
255    |
256 LL |     extern "rust-intrinsic" fn m1() {}
257    |                                     ^^
258
259 error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
260   --> $DIR/feature-gate-abi.rs:39:41
261    |
262 LL |     extern "platform-intrinsic" fn m2() {}
263    |                                         ^^
264
265 error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
266   --> $DIR/feature-gate-abi.rs:47:38
267    |
268 LL |     extern "rust-intrinsic" fn im1() {}
269    |                                      ^^
270
271 error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
272   --> $DIR/feature-gate-abi.rs:49:42
273    |
274 LL |     extern "platform-intrinsic" fn im2() {}
275    |                                          ^^
276
277 error: aborting due to 34 previous errors
278
279 For more information about this error, try `rustc --explain E0658`.