summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0045.stderr
blob: 35a592a69860e1c18d372ba4af6f30000eefc1c1 (plain)
1
2
3
4
5
6
7
8
9
error[E0045]: variadic function must have C or cdecl calling convention
  --> $DIR/E0045.rs:11: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`.