@@ -21,9 +21,9 @@ use mir::interpret::{EvalErrorKind, Scalar, Value};
2121use mir:: visit:: MirVisitable ;
2222use rustc_apfloat:: ieee:: { Double , Single } ;
2323use rustc_apfloat:: Float ;
24- use rustc_data_structures:: control_flow_graph :: dominators:: { dominators, Dominators } ;
25- use rustc_data_structures:: control_flow_graph ;
26- use rustc_data_structures:: control_flow_graph :: { GraphPredecessors , GraphSuccessors } ;
24+ use rustc_data_structures:: graph :: dominators:: { dominators, Dominators } ;
25+ use rustc_data_structures:: graph ;
26+ use rustc_data_structures:: graph :: { GraphPredecessors , GraphSuccessors } ;
2727use rustc_data_structures:: indexed_vec:: { Idx , IndexVec } ;
2828use rustc_data_structures:: small_vec:: SmallVec ;
2929use rustc_data_structures:: sync:: Lrc ;
@@ -2248,23 +2248,23 @@ fn item_path_str(def_id: DefId) -> String {
22482248 ty:: tls:: with ( |tcx| tcx. item_path_str ( def_id) )
22492249}
22502250
2251- impl < ' tcx > control_flow_graph :: DirectedGraph for Mir < ' tcx > {
2251+ impl < ' tcx > graph :: DirectedGraph for Mir < ' tcx > {
22522252 type Node = BasicBlock ;
22532253}
22542254
2255- impl < ' tcx > control_flow_graph :: WithNumNodes for Mir < ' tcx > {
2255+ impl < ' tcx > graph :: WithNumNodes for Mir < ' tcx > {
22562256 fn num_nodes ( & self ) -> usize {
22572257 self . basic_blocks . len ( )
22582258 }
22592259}
22602260
2261- impl < ' tcx > control_flow_graph :: WithStartNode for Mir < ' tcx > {
2261+ impl < ' tcx > graph :: WithStartNode for Mir < ' tcx > {
22622262 fn start_node ( & self ) -> Self :: Node {
22632263 START_BLOCK
22642264 }
22652265}
22662266
2267- impl < ' tcx > control_flow_graph :: WithPredecessors for Mir < ' tcx > {
2267+ impl < ' tcx > graph :: WithPredecessors for Mir < ' tcx > {
22682268 fn predecessors < ' graph > (
22692269 & ' graph self ,
22702270 node : Self :: Node ,
@@ -2273,7 +2273,7 @@ impl<'tcx> control_flow_graph::WithPredecessors for Mir<'tcx> {
22732273 }
22742274}
22752275
2276- impl < ' tcx > control_flow_graph :: WithSuccessors for Mir < ' tcx > {
2276+ impl < ' tcx > graph :: WithSuccessors for Mir < ' tcx > {
22772277 fn successors < ' graph > (
22782278 & ' graph self ,
22792279 node : Self :: Node ,
@@ -2282,12 +2282,12 @@ impl<'tcx> control_flow_graph::WithSuccessors for Mir<'tcx> {
22822282 }
22832283}
22842284
2285- impl < ' a , ' b > control_flow_graph :: GraphPredecessors < ' b > for Mir < ' a > {
2285+ impl < ' a , ' b > graph :: GraphPredecessors < ' b > for Mir < ' a > {
22862286 type Item = BasicBlock ;
22872287 type Iter = IntoIter < BasicBlock > ;
22882288}
22892289
2290- impl < ' a , ' b > control_flow_graph :: GraphSuccessors < ' b > for Mir < ' a > {
2290+ impl < ' a , ' b > graph :: GraphSuccessors < ' b > for Mir < ' a > {
22912291 type Item = BasicBlock ;
22922292 type Iter = iter:: Cloned < Successors < ' b > > ;
22932293}
0 commit comments