fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.2 KiB33 linesraw
1error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument
2  --> $DIR/issue-22565-rust-call.rs:3:1
3   |
4LL | extern "rust-call" fn b(_i: i32) {}
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `i32`
6
7error: functions with the "rust-call" ABI must take a single non-self tuple argument
8  --> $DIR/issue-22565-rust-call.rs:17:5
9   |
10LL |     extern "rust-call" fn bar() {}
11   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: functions with the "rust-call" ABI must take a single non-self tuple argument
14  --> $DIR/issue-22565-rust-call.rs:22:5
15   |
16LL |     extern "rust-call" fn a() {}
17   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
18
19error: functions with the "rust-call" ABI must take a single non-self tuple argument
20  --> $DIR/issue-22565-rust-call.rs:7:5
21   |
22LL |     extern "rust-call" fn a();
23   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
24
25error: functions with the "rust-call" ABI must take a single non-self tuple argument
26  --> $DIR/issue-22565-rust-call.rs:10:5
27   |
28LL |     extern "rust-call" fn b() {}
29   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
30
31error: aborting due to 5 previous errors
32
33For more information about this error, try `rustc --explain E0277`.