1
Fork 0

remove binder from query constraints

This commit is contained in:
lcnr 2023-02-07 10:59:18 +01:00
parent dffea43fc1
commit a04f31dc34
3 changed files with 20 additions and 39 deletions

View file

@ -324,10 +324,8 @@ impl<'tcx, V> Canonical<'tcx, V> {
}
}
pub type QueryOutlivesConstraint<'tcx> = (
ty::Binder<'tcx, ty::OutlivesPredicate<GenericArg<'tcx>, Region<'tcx>>>,
ConstraintCategory<'tcx>,
);
pub type QueryOutlivesConstraint<'tcx> =
(ty::OutlivesPredicate<GenericArg<'tcx>, Region<'tcx>>, ConstraintCategory<'tcx>);
TrivialTypeTraversalAndLiftImpls! {
for <'tcx> {