summaryrefslogtreecommitdiffstats
path: root/tests/ui/argument-suggestions/issue-98894.rs
blob: e421eba97758e6de8ede6363c69b049043f33d40 (plain)
1
2
3
4
fn main() {
    (|_, ()| ())(if true {} else {return;});
    //~^ ERROR function takes 2 arguments but 1 argument was supplied
}