generalize hr alias: avoid unconstrainable infer vars
This commit is contained in:
parent
31110152e2
commit
690d5aa417
7 changed files with 175 additions and 26 deletions
|
@ -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!(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue