Add alias for ArgOutlivesPredicate

This commit is contained in:
Michael Goulet
2025-07-15 16:01:43 +00:00
parent 78fa79e7a6
commit 3634f46fdb
14 changed files with 26 additions and 36 deletions

View File

@@ -47,7 +47,7 @@ fn compute_assumptions<'tcx>(
tcx: TyCtxt<'tcx>,
def_id: DefId,
bound_tys: &'tcx ty::List<Ty<'tcx>>,
) -> &'tcx ty::List<ty::OutlivesPredicate<'tcx, ty::GenericArg<'tcx>>> {
) -> &'tcx ty::List<ty::ArgOutlivesPredicate<'tcx>> {
let infcx = tcx.infer_ctxt().build(ty::TypingMode::Analysis {
defining_opaque_types_and_generators: ty::List::empty(),
});