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