]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0045.stderr
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0045.stderr
1 error[E0045]: C-variadic function must have C or cdecl calling convention
2   --> $DIR/E0045.rs:1:17
3    |
4 LL | extern "Rust" { fn foo(x: u8, ...); }
5    |                 ^^^^^^^^^^^^^^^^^^^ C-variadics require C or cdecl calling convention
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0045`.