ICE when pattern matching on &dyn PartialEq
.
#72565
Labels
A-patterns
Relating to patterns and pattern matching
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.
glacier
ICE tracked in rust-lang/glacier.
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.
causes an ICE on the current nightly
Afaik this is caused by
ty_is_partial_eq
being slightly too permissiverust/src/librustc_mir_build/hair/pattern/const_to_pat.rs
Lines 143 to 157 in 997d953
See #71038 (comment) for more details.
The text was updated successfully, but these errors were encountered: