1
Fork 0

split compare_predicate_entailment and collect_trait_impl_trait_tys out

This commit is contained in:
Michael Goulet 2022-09-09 21:57:38 +00:00
parent 395e56f398
commit bec079d1a9
7 changed files with 137 additions and 33 deletions

View file

@ -655,7 +655,7 @@ impl<'tcx> TyCtxt<'tcx> {
self,
def_id: DefId,
) -> ty::EarlyBinder<Result<&'tcx FxHashMap<DefId, Ty<'tcx>>, ErrorGuaranteed>> {
ty::EarlyBinder(self.compare_predicates_and_trait_impl_trait_tys(def_id))
ty::EarlyBinder(self.collect_trait_impl_trait_tys(def_id))
}
pub fn bound_fn_sig(self, def_id: DefId) -> ty::EarlyBinder<ty::PolyFnSig<'tcx>> {