Fix ui test

This commit is contained in:
Rune Tynan 2020-12-03 19:16:57 -05:00
parent 35e86c2ab5
commit 9908f59319
No known key found for this signature in database
GPG key ID: 7ECC932F8B2C731E

View file

@ -5,7 +5,6 @@ extern "rust-call" fn b(_i: i32) {}
trait Tr {
extern "rust-call" fn a();
//~^ ERROR A function with the "rust-call" ABI must take a single non-self argument
extern "rust-call" fn b() {}
//~^ ERROR A function with the "rust-call" ABI must take a single non-self argument
@ -19,7 +18,7 @@ impl Foo {
}
impl Tr for Foo {
fn a() {}
extern "rust-call" fn a() {}
//~^ ERROR A function with the "rust-call" ABI must take a single non-self argument
}