1
Fork 0

Generalize the ToPredicate trait

Its name is now not accurate anymore, but we'll adjust that later
This commit is contained in:
Oli Scherer 2022-07-20 10:56:57 +00:00
parent 3b91b1a37b
commit 634df06fae
2 changed files with 9 additions and 9 deletions

View file

@ -122,7 +122,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
pub(super) fn prove_predicates(
&mut self,
predicates: impl IntoIterator<Item = impl ToPredicate<'tcx>>,
predicates: impl IntoIterator<Item = impl ToPredicate<'tcx, ty::Predicate<'tcx>>>,
locations: Locations,
category: ConstraintCategory<'tcx>,
) {