|
| 1 | +error[E0658]: using calling conventions other than `C` or `cdecl` for varargs functions is unstable |
| 2 | + --> $DIR/feature-gate-extended_varargs_abi_support.rs:3:14 |
| 3 | + | |
| 4 | +LL | 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 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 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 | +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 |
| 19 | + | |
| 20 | +LL | fn sysv(f: extern "sysv64" fn(usize, ...)) { |
| 21 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 22 | + | |
| 23 | + = note: see issue #100189 <https://github.com/rust-lang/rust/issues/100189> for more information |
| 24 | + = help: add `#![feature(extended_varargs_abi_support)]` to the crate attributes to enable |
| 25 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 26 | + |
| 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 | +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 |
| 35 | + | |
| 36 | +LL | fn win(f: extern "win64" fn(usize, ...)) { |
| 37 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 38 | + | |
| 39 | + = note: see issue #100189 <https://github.com/rust-lang/rust/issues/100189> for more information |
| 40 | + = help: add `#![feature(extended_varargs_abi_support)]` to the crate attributes to enable |
| 41 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 42 | + |
| 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 |
| 50 | + |
| 51 | +Some errors have detailed explanations: E0045, E0658. |
| 52 | +For more information about an error, try `rustc --explain E0045`. |
0 commit comments