rustc/tests/ui/tuple/wrong_argument_ice-4.rs
2023-07-27 22:48:29 +08:00

7 lines
132 B
Rust

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