Generalize the ToPredicate
trait
Its name is now not accurate anymore, but we'll adjust that later
This commit is contained in:
parent
3b91b1a37b
commit
634df06fae
2 changed files with 9 additions and 9 deletions
|
@ -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>,
|
||||
) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue