summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0045.stderr
blob: b38bbc169bd60e0a33cf7d2e512263927efe7581 (plain)
1
2
3
4
5
6
7
8
9
error[E0045]: variadic function must have C or cdecl calling convention
  --> $DIR/E0045.rs:1:17
   |
LL | extern "Rust" { fn foo(x: u8, ...); }   //~ ERROR E0045
   |                 ^^^^^^^^^^^^^^^^^^^ variadics require C or cdecl calling convention

error: aborting due to previous error

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