1 error[E0057]: this function takes 2 arguments but 1 argument was supplied
2 --> $DIR/issue-98894.rs:2:5
4 LL | (|_, ()| ())(if true {} else {return;});
5 | ^^^^^^^^^^^^--------------------------- an argument of type `()` is missing
7 note: closure defined here
8 --> $DIR/issue-98894.rs:2:6
10 LL | (|_, ()| ())(if true {} else {return;});
12 help: provide the argument
14 LL | (|_, ()| ())(if true {} else {return;}, ());
15 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0057`.