Skip to content

Commit 32b968c

Browse files
author
toidiu
committed
add inferred_outlives_of query
1 parent f01ee85 commit 32b968c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustc/ty/maps/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ define_maps! { <'tcx>
121121
/// (inferred) variance.
122122
[] fn variances_of: ItemVariances(DefId) -> Rc<Vec<ty::Variance>>,
123123

124+
/// Maps from def-id of a type to its (inferred) outlives.
125+
[] fn inferred_outlives_of: PredicatesOfItem(DefId) -> ty::GenericPredicates<'tcx>,
126+
124127
/// Maps from an impl/trait def-id to a list of the def-ids of its items
125128
[] fn associated_item_def_ids: AssociatedItemDefIds(DefId) -> Rc<Vec<DefId>>,
126129

0 commit comments

Comments
 (0)