"Remove this semicolon" lint for return values and closures #18595
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
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?
The text was updated successfully, but these errors were encountered: