Fix compiler stack overflow when compiling code with PartialEq
and Eq
in trait constraints
#6898
Labels
bug
Something isn't working
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
compiler
General compiler. Should eventually become more specific as the issue is triaged
team:compiler
Compiler Team
This issue can be observed on some
should_pass
tests when they run with experimental featurepartial_eq
turned on.When compiling those tests, compiler will overflow its stack.
The issue seams to appear on the intersection of trait constraints, supertraits, and resolution of equality operator's
==
correspondingeq
methods.Tests in which the issue appears contain a TODO with a link to this GitHub issue.
The text was updated successfully, but these errors were encountered: