ICE with specialization + associated types: &[T] was a subtype of &[u8] but now is not? #39124
Labels
A-specialization
Area: Trait impl specialization
C-bug
Category: This is a bug.
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.
A combination of specialization and an associated type yields this error. Removing the
Error
associated type and replacing all uses with a concrete type removes the error:this occurs on the playground nightly
The text was updated successfully, but these errors were encountered: