1 #![feature(fn_traits, unboxed_closures)]
10 impl FnMut<isize> for S {
11 extern "rust-call" fn call_mut(&mut self, z: isize) -> isize {
14 //~^^^ ERROR functions with the "rust-call" ABI must take a single non-self argument
17 impl FnOnce<isize> for S {
19 extern "rust-call" fn call_once(mut self, z: isize) -> isize { self.call_mut(z) }
20 //~^ ERROR functions with the "rust-call" ABI must take a single non-self argument
28 drop(s(3)) //~ ERROR cannot use call notation