rust/tests/ui/tuple/wrong_argument_ice-4.rs
2023-01-11 09:32:08 +00:00

7 lines
132 B
Rust

fn main() {
(|| {})(|| {
//~^ ERROR function takes 0 arguments but 1 argument was supplied
let b = 1;
});
}