You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code passes in the old solver, fails in the new solver.
That's because when checking if the PartialEq impls overlap (one from the Derive and one from the manual impl), we check if any of the predicates fail hold. This means we try checking Interval<?1>: PartialOrd<Interval<?1>>, which ends up being an inductive cycle with itself. Inductive cycles are treated as not holding in the old solver, since they are evaluated to EvaluatedToRecur. Meanwhile, inductive cycles in the new trait solver are treated as ambiguous.
The text was updated successfully, but these errors were encountered:
Minimized from #113895 (
interval-map
):This code passes in the old solver, fails in the new solver.
That's because when checking if the
PartialEq
impls overlap (one from theDerive
and one from the manual impl), we check if any of the predicates fail hold. This means we try checkingInterval<?1>: PartialOrd<Interval<?1>>
, which ends up being an inductive cycle with itself. Inductive cycles are treated as not holding in the old solver, since they are evaluated toEvaluatedToRecur
. Meanwhile, inductive cycles in the new trait solver are treated as ambiguous.The text was updated successfully, but these errors were encountered: