dead_code
warning not emitted for unused associated constant
#114730
Labels
C-bug
Category: This is a bug.
P-medium
Medium priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
I tried this code:
I expected to see this happen: I expected to see a
dead_code
warning forFoo::BAR
.Instead, this happened: No warning is emitted.
Version it worked on
It most recently worked on: Rust 1.70
Version with regression
rustc --version --verbose
:Backtrace
N/A
@rustbot modify labels: +regression-from-stable-to-stable -regression-untriaged
The text was updated successfully, but these errors were encountered: