ICE with associated_const_equality: const parameter types cannot be generic #113198
Labels
C-bug
Category: This is a bug.
F-associated_const_equality
`#![feature(associated_const_equality)]`
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.
While working on generic consts and testing their interaction with associated const equality, I stumbled across this preexisting compiler panic. Reproducer:
Stderr:
Although I'm not that familiar with the implementation details of associated const equality (sth. sth. assoc const projections), I'd very much like to have a go at fixing this bug since I'm already working in this area at the moment and I'd like to see it fixed before I open the generic consts PR.
@rustbot claim
Backtrace
@rustbot label C-bug T-compiler I-ICE F-associated_const_equality
The text was updated successfully, but these errors were encountered: