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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
132 B
Rust
Raw Normal View History

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