rustc panics on use of const_generics if #![feature(const_generics)] not enabled #74307
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.
I tried compiling this code:
I expected to see this happen:
Instead, rustc also panicked:
Note: rustc doesn't panic if I add
to the top of the crate root.
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: