Skip to content

Commit d41122a

Browse files
committed
Update stderr
1 parent 9908f59 commit d41122a

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

src/test/ui/abi/issues/issue-22565-rust-call.stderr

+19-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,23 @@ error: A function with the "rust-call" ABI must take a single non-self argument
44
LL | 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

0 commit comments

Comments
 (0)