mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument
|
|
--> $DIR/issue-22565-rust-call.rs:3:1
|
|
|
|
|
LL | extern "rust-call" fn b(_i: i32) {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `i32`
|
|
|
|
error: functions with the "rust-call" ABI must take a single non-self tuple argument
|
|
--> $DIR/issue-22565-rust-call.rs:17:5
|
|
|
|
|
LL | extern "rust-call" fn bar() {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: functions with the "rust-call" ABI must take a single non-self tuple argument
|
|
--> $DIR/issue-22565-rust-call.rs:22:5
|
|
|
|
|
LL | extern "rust-call" fn a() {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: functions with the "rust-call" ABI must take a single non-self tuple argument
|
|
--> $DIR/issue-22565-rust-call.rs:7:5
|
|
|
|
|
LL | extern "rust-call" fn a();
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: functions with the "rust-call" ABI must take a single non-self tuple argument
|
|
--> $DIR/issue-22565-rust-call.rs:10:5
|
|
|
|
|
LL | extern "rust-call" fn b() {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|