rust/src/test/ui/tuple/wrong_argument_ice-4.rs
2023-01-05 03:02:10 +00:00

6 lines
132 B
Rust

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