ICE in adt_const_params: panicked at 'const parameter types cannot be generic' #108952
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-adt_const_params
`#![feature(adt_const_params)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
playground
LifetimeGeneric
andUwU
need to be generic over a lifetime specifically, removing either lifetime does not ICE.Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: