summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0045.stderr
blob: fcc613b11b8d1de8ef73431fd4072acd78a60c34 (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 previous error

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