ICE using associated constant in generic type #62708
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-lazy-normalization
Area: Lazy normalization (tracking issue: #60471)
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
fixed-by-const-generics
Enabling feature `const_generics` fixes the issue.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I'd like to use an associated constant when telling
arrayvec::ArrayVec
how big the underlying array should be and encountered an ICE while running the following code:(Playground)
Errors:
The text was updated successfully, but these errors were encountered: