unused_attributes: false positive since nightly-2025-03-21 "unused attribute <cfg_attr>
"
#138779
Labels
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
C-bug
Category: This is a bug.
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
Code
I tried this code:
I expected to see this happen: no warning
Instead, this happened: unused_attributes warns cfg_attr
Version it worked on
It most recently worked on: nightly-2025-03-20
Version with regression
nightly-2025-03-21
rustc --version --verbose
:@rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged +A-attributes
The text was updated successfully, but these errors were encountered: