@@ -20,7 +20,6 @@ use std::collections::BTreeMap;
20
20
use std:: marker:: PhantomData ;
21
21
use std:: ops:: Deref ;
22
22
23
- use consumers:: { BodyWithBorrowckFacts , ConsumerOptions } ;
24
23
use rustc_data_structures:: fx:: { FxIndexMap , FxIndexSet } ;
25
24
use rustc_data_structures:: graph:: dominators:: Dominators ;
26
25
use rustc_errors:: Diag ;
@@ -49,10 +48,18 @@ use rustc_target::abi::FieldIdx;
49
48
use smallvec:: SmallVec ;
50
49
use tracing:: { debug, instrument} ;
51
50
52
- use self :: diagnostics:: { AccessKind , IllegalMoveOriginKind , MoveError , RegionName } ;
53
- use self :: location:: LocationTable ;
54
- use self :: path_utils:: * ;
55
- use self :: prefixes:: PrefixSet ;
51
+ use crate :: borrow_set:: { BorrowData , BorrowSet } ;
52
+ use crate :: consumers:: { BodyWithBorrowckFacts , ConsumerOptions } ;
53
+ use crate :: dataflow:: { BorrowIndex , BorrowckDomain , BorrowckResults , Borrows } ;
54
+ use crate :: diagnostics:: { AccessKind , IllegalMoveOriginKind , MoveError , RegionName } ;
55
+ use crate :: location:: LocationTable ;
56
+ use crate :: nll:: PoloniusOutput ;
57
+ use crate :: path_utils:: * ;
58
+ use crate :: place_ext:: PlaceExt ;
59
+ use crate :: places_conflict:: { PlaceConflictBias , places_conflict} ;
60
+ use crate :: prefixes:: PrefixSet ;
61
+ use crate :: region_infer:: RegionInferenceContext ;
62
+ use crate :: renumber:: RegionCtxt ;
56
63
use crate :: session_diagnostics:: VarNeedNotMut ;
57
64
58
65
mod borrow_set;
@@ -81,14 +88,6 @@ mod util;
81
88
/// A public API provided for the Rust compiler consumers.
82
89
pub mod consumers;
83
90
84
- use borrow_set:: { BorrowData , BorrowSet } ;
85
- use dataflow:: { BorrowIndex , BorrowckDomain , BorrowckResults , Borrows } ;
86
- use nll:: PoloniusOutput ;
87
- use place_ext:: PlaceExt ;
88
- use places_conflict:: { PlaceConflictBias , places_conflict} ;
89
- use region_infer:: RegionInferenceContext ;
90
- use renumber:: RegionCtxt ;
91
-
92
91
rustc_fluent_macro:: fluent_messages! { "../messages.ftl" }
93
92
94
93
/// Associate some local constants with the `'tcx` lifetime
0 commit comments