@@ -29,12 +29,12 @@ use std::mem;
29
29
use std:: rc:: Rc ;
30
30
31
31
use crate :: dataflow;
32
- use crate :: dataflow:: generic:: { Analysis , BorrowckFlowState as Flows , BorrowckResults } ;
33
32
use crate :: dataflow:: indexes:: { BorrowIndex , InitIndex , MoveOutIndex , MovePathIndex } ;
34
33
use crate :: dataflow:: move_paths:: { InitLocation , LookupResult , MoveData , MoveError } ;
35
34
use crate :: dataflow:: Borrows ;
36
35
use crate :: dataflow:: EverInitializedPlaces ;
37
36
use crate :: dataflow:: MoveDataParamEnv ;
37
+ use crate :: dataflow:: { Analysis , BorrowckFlowState as Flows , BorrowckResults } ;
38
38
use crate :: dataflow:: { MaybeInitializedPlaces , MaybeUninitializedPlaces } ;
39
39
use crate :: transform:: MirSource ;
40
40
@@ -298,7 +298,7 @@ fn do_mir_borrowck<'a, 'tcx>(
298
298
mbcx. report_move_errors ( errors) ;
299
299
}
300
300
301
- dataflow:: generic :: visit_results (
301
+ dataflow:: visit_results (
302
302
& * body,
303
303
traversal:: reverse_postorder ( & * body) . map ( |( bb, _) | bb) ,
304
304
& results,
@@ -509,7 +509,7 @@ crate struct MirBorrowckCtxt<'cx, 'tcx> {
509
509
// 2. loans made in overlapping scopes do not conflict
510
510
// 3. assignments do not affect things loaned out as immutable
511
511
// 4. moves do not affect things loaned out in any way
512
- impl < ' cx , ' tcx > dataflow:: generic :: ResultsVisitor < ' cx , ' tcx > for MirBorrowckCtxt < ' cx , ' tcx > {
512
+ impl < ' cx , ' tcx > dataflow:: ResultsVisitor < ' cx , ' tcx > for MirBorrowckCtxt < ' cx , ' tcx > {
513
513
type FlowState = Flows < ' cx , ' tcx > ;
514
514
515
515
fn visit_statement (
0 commit comments