1 error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument
2 --> $DIR/issue-22565-rust-call.rs:3:1
4 LL | extern "rust-call" fn b(_i: i32) {}
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `i32`
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
10 LL | extern "rust-call" fn bar() {}
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
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
16 LL | extern "rust-call" fn a() {}
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^
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
22 LL | extern "rust-call" fn a();
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
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
28 LL | extern "rust-call" fn b() {}
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^
31 error: aborting due to 5 previous errors
33 For more information about this error, try `rustc --explain E0277`.