@@ -29,12 +29,12 @@ use std::mem;
2929use std:: rc:: Rc ;
3030
3131use crate :: dataflow;
32- use crate :: dataflow:: generic:: { Analysis , BorrowckFlowState as Flows , BorrowckResults } ;
3332use crate :: dataflow:: indexes:: { BorrowIndex , InitIndex , MoveOutIndex , MovePathIndex } ;
3433use crate :: dataflow:: move_paths:: { InitLocation , LookupResult , MoveData , MoveError } ;
3534use crate :: dataflow:: Borrows ;
3635use crate :: dataflow:: EverInitializedPlaces ;
3736use crate :: dataflow:: MoveDataParamEnv ;
37+ use crate :: dataflow:: { Analysis , BorrowckFlowState as Flows , BorrowckResults } ;
3838use crate :: dataflow:: { MaybeInitializedPlaces , MaybeUninitializedPlaces } ;
3939use crate :: transform:: MirSource ;
4040
@@ -298,7 +298,7 @@ fn do_mir_borrowck<'a, 'tcx>(
298298 mbcx. report_move_errors ( errors) ;
299299 }
300300
301- dataflow:: generic :: visit_results (
301+ dataflow:: visit_results (
302302 & * body,
303303 traversal:: reverse_postorder ( & * body) . map ( |( bb, _) | bb) ,
304304 & results,
@@ -509,7 +509,7 @@ crate struct MirBorrowckCtxt<'cx, 'tcx> {
509509// 2. loans made in overlapping scopes do not conflict
510510// 3. assignments do not affect things loaned out as immutable
511511// 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 > {
513513 type FlowState = Flows < ' cx , ' tcx > ;
514514
515515 fn visit_statement (
0 commit comments