Feature const_mut_refs
incorrectly suggested for the use of raw_mut!
in static
#77414
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: The code either compiles successfully or fails to compile with a reasonable error message
Instead, this happened:
But the code already includes
#![feature(const_mut_refs)]
.Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: