1 error[E0057]: this function takes 2 arguments but 1 argument was supplied
2 --> $DIR/issue-99482.rs:3:14
5 | ^ ---- an argument of type `()` is missing
7 note: closure defined here
8 --> $DIR/issue-99482.rs:2:13
10 LL | let f = |_: (), f: fn()| f;
12 help: provide the argument
14 LL | let _f = f((), main);
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0057`.