08bd4ff998
Function signatures with the `variadic` member set are actually C-variadic functions. Make this a little more explicit by renaming the `variadic` boolean value, `c_variadic`.
6 lines
108 B
Rust
6 lines
108 B
Rust
fn foo(x: isize, ...) {
|
|
//~^ ERROR: only foreign functions are allowed to be C-variadic
|
|
}
|
|
|
|
fn main() {}
|