@@ -8,14 +8,8 @@ LL | fn efiapi(f: extern "efiapi" fn(usize, ...)) {
8
8
= help: add `#![feature(extended_varargs_abi_support)]` to the crate attributes to enable
9
9
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
10
10
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
-
17
11
error[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
19
13
|
20
14
LL | fn sysv(f: extern "sysv64" fn(usize, ...)) {
21
15
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -24,14 +18,8 @@ LL | fn sysv(f: extern "sysv64" fn(usize, ...)) {
24
18
= help: add `#![feature(extended_varargs_abi_support)]` to the crate attributes to enable
25
19
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
26
20
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
-
33
21
error[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
35
23
|
36
24
LL | fn win(f: extern "win64" fn(usize, ...)) {
37
25
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -40,13 +28,6 @@ LL | fn win(f: extern "win64" fn(usize, ...)) {
40
28
= help: add `#![feature(extended_varargs_abi_support)]` to the crate attributes to enable
41
29
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
42
30
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
50
32
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