@@ -8,14 +8,8 @@ LL | fn efiapi(f: extern "efiapi" fn(usize, ...)) {
88 = help: add `#![feature(extended_varargs_abi_support)]` to the crate attributes to enable
99 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010
11- error[E0045]: C-variadic function must have a compatible calling convention, like `C` or `cdecl`
12- --> $DIR/feature-gate-extended_varargs_abi_support.rs:3:14
13- |
14- LL | fn efiapi(f: extern "efiapi" fn(usize, ...)) {
15- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ C-variadic function must have a compatible calling convention
16-
1711error[E0658]: using calling conventions other than `C` or `cdecl` for varargs functions is unstable
18- --> $DIR/feature-gate-extended_varargs_abi_support.rs:8 :12
12+ --> $DIR/feature-gate-extended_varargs_abi_support.rs:7 :12
1913 |
2014LL | fn sysv(f: extern "sysv64" fn(usize, ...)) {
2115 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -24,14 +18,8 @@ LL | fn sysv(f: extern "sysv64" fn(usize, ...)) {
2418 = help: add `#![feature(extended_varargs_abi_support)]` to the crate attributes to enable
2519 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2620
27- error[E0045]: C-variadic function must have a compatible calling convention, like `C` or `cdecl`
28- --> $DIR/feature-gate-extended_varargs_abi_support.rs:8:12
29- |
30- LL | fn sysv(f: extern "sysv64" fn(usize, ...)) {
31- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ C-variadic function must have a compatible calling convention
32-
3321error[E0658]: using calling conventions other than `C` or `cdecl` for varargs functions is unstable
34- --> $DIR/feature-gate-extended_varargs_abi_support.rs:13 :11
22+ --> $DIR/feature-gate-extended_varargs_abi_support.rs:11 :11
3523 |
3624LL | fn win(f: extern "win64" fn(usize, ...)) {
3725 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -40,13 +28,6 @@ LL | fn win(f: extern "win64" fn(usize, ...)) {
4028 = help: add `#![feature(extended_varargs_abi_support)]` to the crate attributes to enable
4129 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
4230
43- error[E0045]: C-variadic function must have a compatible calling convention, like `C` or `cdecl`
44- --> $DIR/feature-gate-extended_varargs_abi_support.rs:13:11
45- |
46- LL | fn win(f: extern "win64" fn(usize, ...)) {
47- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ C-variadic function must have a compatible calling convention
48-
49- error: aborting due to 6 previous errors
31+ error: aborting due to 3 previous errors
5032
51- Some errors have detailed explanations: E0045, E0658.
52- For more information about an error, try `rustc --explain E0045`.
33+ For more information about this error, try `rustc --explain E0658`.
0 commit comments