blob: 731b863069b23d7283af4f129e48f3f782afa607 [file] [log] [blame]
fn main() {
let f = |_: (), f: fn()| f;
let _f = f(main);
//~^ ERROR this function takes 2 arguments but 1 argument was supplied
}