rust/src/test/ui/suggestions/suggest-on-bare-closure-call.rs

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

5 lines
79 B
Rust
Raw Normal View History

fn main() {
let _ = ||{}();
//~^ ERROR expected function, found `()`
}