mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
4 lines
129 B
Rust
4 lines
129 B
Rust
fn main() {
|
|
(|_, ()| ())(if true {} else {return;});
|
|
//~^ ERROR function takes 2 arguments but 1 argument was supplied
|
|
}
|