]> git.lizzy.rs Git - rust.git/commitdiff
add inferred_outlives_of query
authortoidiu <toidiu@protonmail.com>
Tue, 26 Sep 2017 04:48:32 +0000 (00:48 -0400)
committertoidiu <toidiu@protonmail.com>
Mon, 16 Oct 2017 18:24:59 +0000 (14:24 -0400)
src/librustc/ty/maps/mod.rs

index 58405c261ad7239f73e4bef519aabbc78face5ba..e14a77ea93bc85956940d18e812025e2839e6167 100644 (file)
     /// (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>>,