1 #![feature(unboxed_closures)]
3 extern "rust-call" fn b(_i: i32) {}
4 //~^ ERROR functions with the "rust-call" ABI must take a single non-self argument that is a tuple
7 extern "rust-call" fn a();
9 extern "rust-call" fn b() {}
10 //~^ ERROR functions with the "rust-call" ABI must take a single non-self argument
16 extern "rust-call" fn bar() {}
17 //~^ ERROR functions with the "rust-call" ABI must take a single non-self argument
21 extern "rust-call" fn a() {}
22 //~^ ERROR functions with the "rust-call" ABI must take a single non-self argument