]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_mir/borrow_check/location.rs
remove indexed_vec re-export from rustc_data_structures
[rust.git] / src / librustc_mir / borrow_check / location.rs
index cc44dc3f5d46bd34be686d7bcea9a36281710d7e..9e94317b87e5493789b563d5d9ad9dd0ffa0a85c 100644 (file)
@@ -1,5 +1,5 @@
 use rustc::mir::{BasicBlock, Location, Body};
-use rustc_data_structures::indexed_vec::{Idx, IndexVec};
+use rustc_index::vec::{Idx, IndexVec};
 
 /// Maps between a MIR Location, which identifies a particular
 /// statement within a basic block, to a "rich location", which
@@ -17,7 +17,7 @@
     statements_before_block: IndexVec<BasicBlock, usize>,
 }
 
-newtype_index! {
+rustc_index::newtype_index! {
     pub struct LocationIndex {
         DEBUG_FORMAT = "LocationIndex({})"
     }