]> git.lizzy.rs Git - rust.git/blob - src/test/ui/argument-suggestions/issue-98897.rs
Make some diagnostics not depend on the source of what they reference being available
[rust.git] / src / test / ui / argument-suggestions / issue-98897.rs
1 fn main() {
2     (|_, ()| ())([return, ()]);
3     //~^ ERROR this function takes 2 arguments but 1 argument was supplied
4 }