ICE when structurally matching a struct containing an associated type on latest Nightly. #72896
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-patterns
Relating to patterns and pattern matching
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-critical
Critical priority
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
One of the tests in my enumset crate has started throwing an ICE on the latest nightly.
The problem seems to be that I use an associated type as a field in a struct I'm structurally matching, and this has been broken on the latest nightly.
Code
Playground Link
Error output
Backtrace
The text was updated successfully, but these errors were encountered: