Regression when using #[expect(unused)]
more than once in an impl block
#114416
Labels
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
F-lint_reasons
`#![feature(lint_reasons)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
At some point between
rustc
nightly-2023-03-05
(works) andnightly-2023-07-01
(does not work) the following stopped compiling:RUSTFLAGS="-D warnings" cargo check
I have not bisected for the exact commit that broke this.
I have only tried to reproduce this error using
#[expect(unused)]
. It's possible that this is also broken for other lints.PR: #114417
The text was updated successfully, but these errors were encountered: