Closed
Description
Right now it looks like we don't handle closures when printing out the "consider removing this semicolon" help message (but we do handle functions!). It'd be kinda cool if we could handle closures as well (or maybe any block statement in general?
fn foo(_: || -> bool) {}
fn main() {
foo(|| { true; });
}