1
Fork 0

Uplift OutlivesPredicate, remove a bunch of unnecessary associated types from Interner

This commit is contained in:
Michael Goulet 2024-05-21 11:07:54 -04:00
parent 28ce588321
commit 1c8230ea3c
15 changed files with 79 additions and 75 deletions

View file

@ -9,7 +9,7 @@ use smallvec::smallvec;
/// Tracks the `T: 'a` or `'a: 'a` predicates that we have inferred
/// must be added to the struct header.
pub(crate) type RequiredPredicates<'tcx> =
FxIndexMap<ty::OutlivesPredicate<GenericArg<'tcx>, ty::Region<'tcx>>, Span>;
FxIndexMap<ty::OutlivesPredicate<'tcx, ty::GenericArg<'tcx>>, Span>;
/// Given a requirement `T: 'a` or `'b: 'a`, deduce the
/// outlives_component and add it to `required_predicates`