unused_braces
suggestion also removes attributes
#141549
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.
Uh oh!
There was an error while loading. Please reload this page.
Code
Current output
Desired output
Rationale and extra context
Removing the attributes can change the meaning of the code.
Rust Version
The text was updated successfully, but these errors were encountered: