]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_driver/pretty.rs
Move the HIR cfg to `rustc_ast_borrowck`
[rust.git] / src / librustc_driver / pretty.rs
index cb17401f6247b98c7aa25f0b763348f261f8d471..c4d3ad946f9f6ffe5481ff6999f61fe29e2bb49c 100644 (file)
@@ -1,7 +1,5 @@
 //! The various pretty-printing routines.
 
-use rustc::cfg;
-use rustc::cfg::graphviz::LabelledCFG;
 use rustc::hir;
 use rustc::hir::map as hir_map;
 use rustc::hir::map::blocks;
@@ -14,6 +12,7 @@
 use rustc_interface::util::ReplaceBodyWithLoop;
 use rustc_ast_borrowck as borrowck;
 use rustc_ast_borrowck::graphviz as borrowck_dot;
+use rustc_ast_borrowck::cfg::{self, graphviz::LabelledCFG};
 use rustc_mir::util::{write_mir_pretty, write_mir_graphviz};
 
 use syntax::ast;