summary refs log tree commit diff
path: root/tests/ui/c-variadic/variadic-ffi-2.stderr
blob: 2ac0a9f5ea2cfa6610c212fd2b065ccbbedc4d79 (plain)
1
2
3
4
5
6
7
8
9
error[E0045]: C-variadic functions with the "Rust" calling convention are not supported
  --> $DIR/variadic-ffi-2.rs:3:11
   |
LL | fn baz(f: extern "Rust" fn(usize, ...)) {
   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ C-variadic function must have a compatible calling convention

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0045`.