summaryrefslogtreecommitdiffstats
path: root/tests/ui/argument-suggestions/issue-98897.rs
blob: 27734f74dee78420506485adbcce02342a691c9c (plain)
1
2
3
4
fn main() {
    (|_, ()| ())([return, ()]);
    //~^ ERROR function takes 2 arguments but 1 argument was supplied
}