rust/tests/ui/tuple/wrong_argument_ice-4.rs

7 lines
132 B
Rust

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