]> git.lizzy.rs Git - rust.git/blob - src/test/ui/abi/issues/issue-22565-rust-call.stderr
Rollup merge of #80733 - steffahn:prettify_pin_links, r=jyn514
[rust.git] / src / test / ui / abi / issues / issue-22565-rust-call.stderr
1 error: functions with the "rust-call" ABI must take a single non-self argument that is a tuple
2   --> $DIR/issue-22565-rust-call.rs:3:1
3    |
4 LL | extern "rust-call" fn b(_i: i32) {}
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error: functions with the "rust-call" ABI must take a single non-self argument that is a tuple
8   --> $DIR/issue-22565-rust-call.rs:9:5
9    |
10 LL |     extern "rust-call" fn b() {}
11    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: functions with the "rust-call" ABI must take a single non-self argument that is a tuple
14   --> $DIR/issue-22565-rust-call.rs:16:5
15    |
16 LL |     extern "rust-call" fn bar() {}
17    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
19 error: functions with the "rust-call" ABI must take a single non-self argument that is a tuple
20   --> $DIR/issue-22565-rust-call.rs:21:5
21    |
22 LL |     extern "rust-call" fn a() {}
23    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
24
25 error: aborting due to 4 previous errors
26