about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-07-15 16:01:43 +0000
committerMichael Goulet <michael@errs.io>2025-07-15 16:02:26 +0000
commit3634f46fdb50887dd0f6877cab1d7f9cf45458af (patch)
tree50c017be0406c1e6d28c507375fd755d368da15c /compiler/rustc_hir_analysis/src
parent78fa79e7a642c8817b67d1c10d782c4c7b661a00 (diff)
downloadrust-3634f46fdb50887dd0f6877cab1d7f9cf45458af.tar.gz
rust-3634f46fdb50887dd0f6877cab1d7f9cf45458af.zip
Add alias for ArgOutlivesPredicate
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
-rw-r--r--compiler/rustc_hir_analysis/src/outlives/utils.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_hir_analysis/src/outlives/utils.rs b/compiler/rustc_hir_analysis/src/outlives/utils.rs
index 301f5de9424..99a633e2b7d 100644
--- a/compiler/rustc_hir_analysis/src/outlives/utils.rs
+++ b/compiler/rustc_hir_analysis/src/outlives/utils.rs
@@ -7,8 +7,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<'tcx, ty::GenericArg<'tcx>>, Span>;
+pub(crate) type RequiredPredicates<'tcx> = FxIndexMap<ty::ArgOutlivesPredicate<'tcx>, Span>;
 
 /// Given a requirement `T: 'a` or `'b: 'a`, deduce the
 /// outlives_component and add it to `required_predicates`