File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_hir_analysis/src/outlives Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1+ use rustc_data_structures:: fx:: FxIndexMap ;
12use rustc_infer:: infer:: outlives:: components:: { push_outlives_components, Component } ;
23use rustc_middle:: ty:: { self , Region , Ty , TyCtxt } ;
34use rustc_middle:: ty:: { GenericArg , GenericArgKind } ;
45use rustc_span:: Span ;
56use smallvec:: smallvec;
6- use std:: collections:: BTreeMap ;
77
88/// Tracks the `T: 'a` or `'a: 'a` predicates that we have inferred
99/// must be added to the struct header.
1010pub ( crate ) type RequiredPredicates < ' tcx > =
11- BTreeMap < ty:: OutlivesPredicate < GenericArg < ' tcx > , ty:: Region < ' tcx > > , Span > ;
11+ FxIndexMap < ty:: OutlivesPredicate < GenericArg < ' tcx > , ty:: Region < ' tcx > > , Span > ;
1212
1313/// Given a requirement `T: 'a` or `'b: 'a`, deduce the
1414/// outlives_component and add it to `required_predicates`
You can’t perform that action at this time.
0 commit comments