Const generic parameters are allowed in the wrong position (causing ICEs). #68398
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
F-const_generics
`#![feature(const_generics)]`
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.
Note the
Array<N, ()>
use, instead ofArray<(), N>
:This currently results in
cat_expr Errd
andbroken MIR
ICEs.cc @varkor @yodaldevoid @oli-obk
The text was updated successfully, but these errors were encountered: