We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35e86c2 commit 9908f59Copy full SHA for 9908f59
src/test/ui/abi/issues/issue-22565-rust-call.rs
@@ -5,7 +5,6 @@ extern "rust-call" fn b(_i: i32) {}
5
6
trait Tr {
7
extern "rust-call" fn a();
8
- //~^ ERROR A function with the "rust-call" ABI must take a single non-self argument
9
10
extern "rust-call" fn b() {}
11
//~^ ERROR A function with the "rust-call" ABI must take a single non-self argument
@@ -19,7 +18,7 @@ impl Foo {
19
18
}
20
21
impl Tr for Foo {
22
- fn a() {}
+ extern "rust-call" fn a() {}
23
24
25
0 commit comments