ICE when returning mutable reference to array with const generic length #61337
Labels
A-const-eval
Area: Constant evaluation (MIR interpretation)
A-const-generics
Area: const generics (parameters and arguments)
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.
EDIT: Generalized the error.
A clean rust project with just this code:
Produces this error:
The text was updated successfully, but these errors were encountered: