Missing warning for an unused const in async fn #108296
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.
I tried this code:
I expected to see the warning:
Instead no warning was reported by the compiler.
Observed in nightly, 1.67.
Seems like the warning was shown in 1.63 and stopped showing in 1.64.
The text was updated successfully, but these errors were encountered: