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