ICE array-size-in-generic-struct-param.rs: const parameter CFG/#0
(Const { ty: Config, val: Param(CFG/#0) }/0) out of range when substituting substs=[]
#75506
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
F-const_generics
`#![feature(const_generics)]`
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.
Code
code from
./src/test/ui/const-generics/array-size-in-generic-struct-param.rs
Meta
repo @ 5e3f1b1
Error output
Backtrace
The text was updated successfully, but these errors were encountered: