fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
514 B15 linesraw
1error[E0743]: only foreign functions are allowed to be C-variadic
2  --> $DIR/invalid-variadic-function.rs:1:26
3   |
4LL | extern "C" fn foo(x: u8, ...);
5   |                          ^^^
6
7error: expected one of `->`, `where`, or `{`, found `;`
8  --> $DIR/invalid-variadic-function.rs:1:30
9   |
10LL | extern "C" fn foo(x: u8, ...);
11   |                              ^ expected one of `->`, `where`, or `{`
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0743`.