1 Variadic parameters have been used on a non-C ABI function.
3 Erroneous code example:
6 #![feature(unboxed_closures)]
9 fn foo(x: u8, ...); // error!
13 Rust only supports variadic parameters for interoperability with C code in its
14 FFI. As such, variadic parameters can only be used with functions which are
15 using the C ABI. To fix such code, put them in an extern "C" block: