Internal compiler error when attempting to implement an associated const with a local variable #44239
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Specifically this code:
results in the following error message:
Expected behavior: While I can understand if this level of meta isn't possible, it should give a proper error message! :)
The text was updated successfully, but these errors were encountered: