@@ -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 ;
@@ -2289,23 +2289,23 @@ fn item_path_str(def_id: DefId) -> String {
22892289 ty:: tls:: with ( |tcx| tcx. item_path_str ( def_id) )
22902290}
22912291
2292- impl < ' tcx > control_flow_graph :: DirectedGraph for Mir < ' tcx > {
2292+ impl < ' tcx > graph :: DirectedGraph for Mir < ' tcx > {
22932293 type Node = BasicBlock ;
22942294}
22952295
2296- impl < ' tcx > control_flow_graph :: WithNumNodes for Mir < ' tcx > {
2296+ impl < ' tcx > graph :: WithNumNodes for Mir < ' tcx > {
22972297 fn num_nodes ( & self ) -> usize {
22982298 self . basic_blocks . len ( )
22992299 }
23002300}
23012301
2302- impl < ' tcx > control_flow_graph :: WithStartNode for Mir < ' tcx > {
2302+ impl < ' tcx > graph :: WithStartNode for Mir < ' tcx > {
23032303 fn start_node ( & self ) -> Self :: Node {
23042304 START_BLOCK
23052305 }
23062306}
23072307
2308- impl < ' tcx > control_flow_graph :: WithPredecessors for Mir < ' tcx > {
2308+ impl < ' tcx > graph :: WithPredecessors for Mir < ' tcx > {
23092309 fn predecessors < ' graph > (
23102310 & ' graph self ,
23112311 node : Self :: Node ,
@@ -2314,7 +2314,7 @@ impl<'tcx> control_flow_graph::WithPredecessors for Mir<'tcx> {
23142314 }
23152315}
23162316
2317- impl < ' tcx > control_flow_graph :: WithSuccessors for Mir < ' tcx > {
2317+ impl < ' tcx > graph :: WithSuccessors for Mir < ' tcx > {
23182318 fn successors < ' graph > (
23192319 & ' graph self ,
23202320 node : Self :: Node ,
@@ -2323,12 +2323,12 @@ impl<'tcx> control_flow_graph::WithSuccessors for Mir<'tcx> {
23232323 }
23242324}
23252325
2326- impl < ' a , ' b > control_flow_graph :: GraphPredecessors < ' b > for Mir < ' a > {
2326+ impl < ' a , ' b > graph :: GraphPredecessors < ' b > for Mir < ' a > {
23272327 type Item = BasicBlock ;
23282328 type Iter = IntoIter < BasicBlock > ;
23292329}
23302330
2331- impl < ' a , ' b > control_flow_graph :: GraphSuccessors < ' b > for Mir < ' a > {
2331+ impl < ' a , ' b > graph :: GraphSuccessors < ' b > for Mir < ' a > {
23322332 type Item = BasicBlock ;
23332333 type Iter = iter:: Cloned < Successors < ' b > > ;
23342334}
0 commit comments