diff options
| author | toidiu <toidiu@protonmail.com> | 2017-09-26 00:48:32 -0400 |
|---|---|---|
| committer | toidiu <toidiu@protonmail.com> | 2017-10-16 14:24:59 -0400 |
| commit | 32b968ce443a840b51e605e8a29408aa903aa6bf (patch) | |
| tree | 4d876edb82d2fc64c615158824e7116eba019a94 | |
| parent | f01ee857a301e203ab960b50c85ac0c370eb1adc (diff) | |
| download | rust-32b968ce443a840b51e605e8a29408aa903aa6bf.tar.gz rust-32b968ce443a840b51e605e8a29408aa903aa6bf.zip | |
add inferred_outlives_of query
| -rw-r--r-- | src/librustc/ty/maps/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustc/ty/maps/mod.rs b/src/librustc/ty/maps/mod.rs index 58405c261ad..e14a77ea93b 100644 --- a/src/librustc/ty/maps/mod.rs +++ b/src/librustc/ty/maps/mod.rs @@ -121,6 +121,9 @@ define_maps! { <'tcx> /// (inferred) variance. [] fn variances_of: ItemVariances(DefId) -> Rc<Vec<ty::Variance>>, + /// Maps from def-id of a type to its (inferred) outlives. + [] fn inferred_outlives_of: PredicatesOfItem(DefId) -> ty::GenericPredicates<'tcx>, + /// Maps from an impl/trait def-id to a list of the def-ids of its items [] fn associated_item_def_ids: AssociatedItemDefIds(DefId) -> Rc<Vec<DefId>>, |
