blob: d163128bc8b6c0851cefef63cfd77bb30bf96c2d (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0045]: C-variadic function must have C or cdecl calling convention
--> $DIR/E0045.rs:1:17
|
LL | extern "Rust" { fn foo(x: u8, ...); }
| ^^^^^^^^^^^^^^^^^^^ C-variadics require C or cdecl calling convention
error: aborting due to previous error
For more information about this error, try `rustc --explain E0045`.
|