File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,23 @@ error: A function with the "rust-call" ABI must take a single non-self argument
44LL | extern "rust-call" fn b(_i: i32) {}
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
7- error: aborting due to previous error
7+ error: A function 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: A function 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: A function 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
826
You can’t perform that action at this time.
0 commit comments