summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0045.stderr
blob: 25b2f2654da1516a17cb63eb03efeaec42396640 (plain)
1
2
3
4
5
6
7
8
9
error[E0045]: C-variadic function must have a compatible calling convention, like `C` or `cdecl`
  --> $DIR/E0045.rs:1:17
   |
LL | extern "Rust" { fn foo(x: u8, ...); }
   |                 ^^^^^^^^^^^^^^^^^^^ C-variadic function must have a compatible calling convention

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0045`.