@@ -7,21 +7,12 @@ pub use self::SubregionOrigin::*;
7
7
pub use self :: ValuePairs :: * ;
8
8
pub use crate :: ty:: IntVarValue ;
9
9
10
- use arena:: SyncDroplessArena ;
11
- use errors:: DiagnosticBuilder ;
12
10
use crate :: hir:: def_id:: DefId ;
13
11
use crate :: infer:: canonical:: { Canonical , CanonicalVarValues } ;
14
12
use crate :: middle:: free_region:: RegionRelations ;
15
13
use crate :: middle:: lang_items;
16
14
use crate :: middle:: region;
17
- use rustc_data_structures:: unify as ut;
18
15
use 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 } ;
25
16
use crate :: traits:: { self , ObligationCause , PredicateObligations , TraitEngine } ;
26
17
use crate :: ty:: error:: { ExpectedFound , TypeError , UnconstrainedNumeric } ;
27
18
use crate :: ty:: fold:: TypeFoldable ;
@@ -31,6 +22,16 @@ use crate::ty::{self, GenericParamDefKind, Ty, TyCtxt, CtxtInterners};
31
22
use crate :: ty:: { FloatVid , IntVid , TyVid } ;
32
23
use crate :: util:: nodemap:: FxHashMap ;
33
24
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
+
34
35
use self :: combine:: CombineFields ;
35
36
use self :: lexical_region_resolve:: LexicalRegionResolutions ;
36
37
use self :: outlives:: env:: OutlivesEnvironment ;
0 commit comments