false positive on unused_parens lint #26461
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
sez:
However, removing the parentheses makes the file have illegal syntax, because
{}
is part of the return expression (so theif
is missing its arm).The text was updated successfully, but these errors were encountered: