Operations with const-generics in array types and converting between between different const-generic-based types #84408
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-const_generics
`#![feature(const_generics)]`
F-generic_const_exprs
`#![feature(generic_const_exprs)]`
glacier
ICE tracked in rust-lang/glacier.
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.
Seems like the
A + B
inBar
's type is important to the bug. Other operations likeA * B
also run into the ICE, but if you try and replace that with justA
it compiles.Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: