@@ -158,10 +158,11 @@ pub use opaque_hidden_type::OpaqueHiddenType;
158
158
pub use param_env:: { ParamEnv , ParamEnvAnd } ;
159
159
pub use placeholder:: { Placeholder , PlaceholderConst , PlaceholderRegion , PlaceholderType } ;
160
160
pub use predicate:: {
161
- Clause , CoercePredicate , InstantiatedPredicates , OutlivesPredicate , PolyCoercePredicate ,
162
- PolyProjectionPredicate , PolyRegionOutlivesPredicate , PolySubtypePredicate , PolyTraitPredicate ,
163
- PolyTypeOutlivesPredicate , Predicate , PredicateKind , ProjectionPredicate ,
164
- RegionOutlivesPredicate , SubtypePredicate , ToPredicate , TraitPredicate , TypeOutlivesPredicate ,
161
+ Clause , CoercePredicate , CratePredicatesMap , InstantiatedPredicates , OutlivesPredicate ,
162
+ PolyCoercePredicate , PolyProjectionPredicate , PolyRegionOutlivesPredicate ,
163
+ PolySubtypePredicate , PolyTraitPredicate , PolyTypeOutlivesPredicate , Predicate , PredicateKind ,
164
+ ProjectionPredicate , RegionOutlivesPredicate , SubtypePredicate , ToPredicate , TraitPredicate ,
165
+ TypeOutlivesPredicate ,
165
166
} ;
166
167
pub use resolver_outputs:: { ResolverAstLowering , ResolverGlobalCtxt , ResolverOutputs } ;
167
168
pub use symbol_name:: SymbolName ;
@@ -260,20 +261,6 @@ pub struct CReaderCacheKey {
260
261
pub pos : usize ,
261
262
}
262
263
263
- /// The crate outlives map is computed during typeck and contains the
264
- /// outlives of every item in the local crate. You should not use it
265
- /// directly, because to do so will make your pass dependent on the
266
- /// HIR of every item in the local crate. Instead, use
267
- /// `tcx.inferred_outlives_of()` to get the outlives for a *particular*
268
- /// item.
269
- #[ derive( HashStable , Debug ) ]
270
- pub struct CratePredicatesMap < ' tcx > {
271
- /// For each struct with outlive bounds, maps to a vector of the
272
- /// predicate of its outlive bounds. If an item has no outlives
273
- /// bounds, it will have no entry.
274
- pub predicates : FxHashMap < DefId , & ' tcx [ ( Clause < ' tcx > , Span ) ] > ,
275
- }
276
-
277
264
const TAG_MASK : usize = 0b11 ;
278
265
const TYPE_TAG : usize = 0b00 ;
279
266
const CONST_TAG : usize = 0b01 ;
0 commit comments