error[E0743]: only foreign functions are allowed to be C-variadic | |
--> $DIR/invalid-variadic-function.rs:1:26 | |
| | |
LL | extern "C" fn foo(x: u8, ...); | |
| ^^^ | |
error: expected one of `->`, `where`, or `{`, found `;` | |
--> $DIR/invalid-variadic-function.rs:1:30 | |
| | |
LL | extern "C" fn foo(x: u8, ...); | |
| ^ expected one of `->`, `where`, or `{` | |
error: aborting due to 2 previous errors | |
For more information about this error, try `rustc --explain E0743`. |