1 #![feature(fn_traits, unboxed_closures)]
10 impl FnMut<(isize,)> for S {
11 extern "rust-call" fn call_mut(&mut self, (z,): (isize,)) -> isize {
16 impl FnOnce<(isize,)> for S {
18 extern "rust-call" fn call_once(mut self, (z,): (isize,)) -> isize {
28 let ans = s("what"); //~ ERROR mismatched types
30 //~^ ERROR this function takes 1 argument but 0 arguments were supplied
31 let ans = s("burma", "shave");
32 //~^ ERROR this function takes 1 argument but 2 arguments were supplied