Uplift push_outlives_components

This commit is contained in:
Michael Goulet 2024-07-05 15:28:47 -04:00
parent 3bec61736a
commit 23c6f23b21
12 changed files with 386 additions and 300 deletions

View file

@ -284,7 +284,7 @@ pub fn compute_implied_outlives_bounds_compat_inner<'tcx>(
/// those relationships.
fn implied_bounds_from_components<'tcx>(
sub_region: ty::Region<'tcx>,
sup_components: SmallVec<[Component<'tcx>; 4]>,
sup_components: SmallVec<[Component<TyCtxt<'tcx>>; 4]>,
) -> Vec<OutlivesBound<'tcx>> {
sup_components
.into_iter()