Spurious error[E0492]: constants cannot refer to interior mutable data when an undeclared type is found #134796
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
Code
Current output
Desired output
The E0492 interior mutability error is spurious and should not be emitted.
Rust Version
The text was updated successfully, but these errors were encountered: