@@ -7,21 +7,12 @@ pub use self::SubregionOrigin::*;
77pub use self :: ValuePairs :: * ;
88pub use crate :: ty:: IntVarValue ;
99
10- use arena:: SyncDroplessArena ;
11- use errors:: DiagnosticBuilder ;
1210use crate :: hir:: def_id:: DefId ;
1311use crate :: infer:: canonical:: { Canonical , CanonicalVarValues } ;
1412use crate :: middle:: free_region:: RegionRelations ;
1513use crate :: middle:: lang_items;
1614use crate :: middle:: region;
17- use rustc_data_structures:: unify as ut;
1815use crate :: session:: config:: BorrowckMode ;
19- use std:: cell:: { Cell , Ref , RefCell , RefMut } ;
20- use std:: collections:: BTreeMap ;
21- use std:: fmt;
22- use syntax:: ast;
23- use syntax_pos:: symbol:: InternedString ;
24- use syntax_pos:: { self , Span } ;
2516use crate :: traits:: { self , ObligationCause , PredicateObligations , TraitEngine } ;
2617use crate :: ty:: error:: { ExpectedFound , TypeError , UnconstrainedNumeric } ;
2718use crate :: ty:: fold:: TypeFoldable ;
@@ -31,6 +22,16 @@ use crate::ty::{self, GenericParamDefKind, Ty, TyCtxt, CtxtInterners};
3122use crate :: ty:: { FloatVid , IntVid , TyVid } ;
3223use crate :: util:: nodemap:: FxHashMap ;
3324
25+ use arena:: SyncDroplessArena ;
26+ use errors:: DiagnosticBuilder ;
27+ use rustc_data_structures:: unify as ut;
28+ use std:: cell:: { Cell , Ref , RefCell , RefMut } ;
29+ use std:: collections:: BTreeMap ;
30+ use std:: fmt;
31+ use syntax:: ast;
32+ use syntax_pos:: symbol:: InternedString ;
33+ use syntax_pos:: Span ;
34+
3435use self :: combine:: CombineFields ;
3536use self :: lexical_region_resolve:: LexicalRegionResolutions ;
3637use self :: outlives:: env:: OutlivesEnvironment ;
0 commit comments