Regression: false negative in unused_braces lint for braces around macro call #106899
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
$ rustc +nightly-2023-01-15 src/main.rs # incorrect: no lint
The false negative bisects to #106866, so pretty obviously #106563. FYI @clubby789 @TaKO8Ki
From skimming #106545, that's an issue about const generics. It doesn't seem like the PR was supposed to have affected unused_braces situations outside of const generics position.
The text was updated successfully, but these errors were encountered: