rust/tests/ui/argument-suggestions/issue-98894.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
129 B
Rust
Raw Normal View History

fn main() {
(|_, ()| ())(if true {} else {return;});
//~^ ERROR function takes 2 arguments but 1 argument was supplied
}