1 2 3 4 5
fn main() { let f = |_: (), f: fn()| f; let _f = f(main); //~^ ERROR function takes 2 arguments but 1 argument was supplied }