Rollup merge of #124827 - lcnr:generalize-incomplete, r=compiler-errors
generalize hr alias: avoid unconstrainable infer vars fixes https://github.com/rust-lang/trait-system-refactor-initiative/issues/108 see inline comments for more details r? `@compiler-errors` cc `@BoxyUwU`
This commit is contained in:
commit
4a5bf7b06e
7 changed files with 175 additions and 26 deletions
|
@ -376,7 +376,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