mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-10 17:07:36 +00:00
23 lines
796 B
Plaintext
23 lines
796 B
Plaintext
error: delegation to C-variadic functions is not allowed
|
|
--> $DIR/fn-header-variadic.rs:11:17
|
|
|
|
|
LL | pub unsafe extern "C" fn variadic_fn(n: usize, mut args: ...) {}
|
|
| ------------------------------------------------------------- callee defined here
|
|
...
|
|
LL | reuse to_reuse::variadic_fn;
|
|
| ^^^^^^^^^^^
|
|
|
|
error: delegation to C-variadic functions is not allowed
|
|
--> $DIR/fn-header-variadic.rs:13:22
|
|
|
|
|
LL | reuse fn_header_aux::variadic_fn_extern;
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
::: $DIR/auxiliary/fn-header-aux.rs:7:1
|
|
|
|
|
LL | pub unsafe extern "C" fn variadic_fn_extern(n: usize, mut args: ...) {}
|
|
| -------------------------------------------------------------------- callee defined here
|
|
|
|
error: aborting due to 2 previous errors
|
|
|