]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_ast_borrowck/dataflow.rs
Move the HIR cfg to `rustc_ast_borrowck`
[rust.git] / src / librustc_ast_borrowck / dataflow.rs
index 3a4c8c924764eadcf2ad964e6ce0175446766555..a8562901d99c5f3c0443db6b6dc6980580533998 100644 (file)
@@ -3,9 +3,7 @@
 //! and thus uses bitvectors. Your job is simply to specify the so-called
 //! GEN and KILL bits for each expression.
 
-use rustc::cfg;
-use rustc::cfg::CFGIndex;
-use rustc::ty::TyCtxt;
+use crate::cfg::{self, CFGIndex};
 use std::mem;
 use std::usize;
 use log::debug;
@@ -16,6 +14,7 @@
 use rustc::hir;
 use rustc::hir::intravisit;
 use rustc::hir::print as pprust;
+use rustc::ty::TyCtxt;
 
 #[derive(Copy, Clone, Debug)]
 pub enum EntryOrExit {