1
Fork 0

generalize hr alias: avoid unconstrainable infer vars

This commit is contained in:
lcnr 2024-05-06 21:33:57 +00:00
parent 31110152e2
commit 690d5aa417
7 changed files with 175 additions and 26 deletions

View file

@ -372,7 +372,10 @@ impl<'tcx> ProofTreeBuilder<'tcx> {
(
DebugSolver::GoalEvaluation(goal_evaluation),
DebugSolver::CanonicalGoalEvaluation(canonical_goal_evaluation),
) => goal_evaluation.evaluation = Some(canonical_goal_evaluation),
) => {
let prev = goal_evaluation.evaluation.replace(canonical_goal_evaluation);
assert_eq!(prev, None);
}
_ => unreachable!(),
}
}