1
Fork 0

Make ProofTreeBuilder actually generic over interner

This commit is contained in:
Michael Goulet 2024-05-19 13:20:37 -04:00
parent 50a5da16b8
commit f494036530
7 changed files with 102 additions and 83 deletions

View file

@ -218,6 +218,13 @@ impl<'tcx> Interner for TyCtxt<'tcx> {
self.check_and_mk_args(def_id, args)
}
fn intern_canonical_goal_evaluation_step(
self,
step: solve::inspect::CanonicalGoalEvaluationStep<TyCtxt<'tcx>>,
) -> &'tcx solve::inspect::CanonicalGoalEvaluationStep<TyCtxt<'tcx>> {
self.arena.alloc(step)
}
fn parent(self, def_id: Self::DefId) -> Self::DefId {
self.parent(def_id)
}