fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
2.5 KiB49 linesraw
1error[E0658]: using calling conventions other than `C` or `cdecl` for varargs functions is unstable
2  --> $DIR/feature-gate-extended_varargs_abi_support.rs:1:14
3   |
4LL | fn efiapi(f: extern "efiapi" fn(usize, ...)) {
5   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: see issue #100189 <https://github.com/rust-lang/rust/issues/100189> for more information
8   = help: add `#![feature(extended_varargs_abi_support)]` to the crate attributes to enable
9
10error[E0045]: C-variadic function must have a compatible calling convention, like `C` or `cdecl`
11  --> $DIR/feature-gate-extended_varargs_abi_support.rs:1:14
12   |
13LL | fn efiapi(f: extern "efiapi" fn(usize, ...)) {
14   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ C-variadic function must have a compatible calling convention
15
16error[E0658]: using calling conventions other than `C` or `cdecl` for varargs functions is unstable
17  --> $DIR/feature-gate-extended_varargs_abi_support.rs:6:12
18   |
19LL | fn sysv(f: extern "sysv64" fn(usize, ...)) {
20   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21   |
22   = note: see issue #100189 <https://github.com/rust-lang/rust/issues/100189> for more information
23   = help: add `#![feature(extended_varargs_abi_support)]` to the crate attributes to enable
24
25error[E0045]: C-variadic function must have a compatible calling convention, like `C` or `cdecl`
26  --> $DIR/feature-gate-extended_varargs_abi_support.rs:6:12
27   |
28LL | fn sysv(f: extern "sysv64" fn(usize, ...)) {
29   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ C-variadic function must have a compatible calling convention
30
31error[E0658]: using calling conventions other than `C` or `cdecl` for varargs functions is unstable
32  --> $DIR/feature-gate-extended_varargs_abi_support.rs:11:11
33   |
34LL | fn win(f: extern "win64" fn(usize, ...)) {
35   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36   |
37   = note: see issue #100189 <https://github.com/rust-lang/rust/issues/100189> for more information
38   = help: add `#![feature(extended_varargs_abi_support)]` to the crate attributes to enable
39
40error[E0045]: C-variadic function must have a compatible calling convention, like `C` or `cdecl`
41  --> $DIR/feature-gate-extended_varargs_abi_support.rs:11:11
42   |
43LL | fn win(f: extern "win64" fn(usize, ...)) {
44   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ C-variadic function must have a compatible calling convention
45
46error: aborting due to 6 previous errors
47
48Some errors have detailed explanations: E0045, E0658.
49For more information about an error, try `rustc --explain E0045`.