diff options
| author | csmoe <csmoe@msn.com> | 2019-09-26 05:38:33 +0000 |
|---|---|---|
| committer | csmoe <csmoe@msn.com> | 2019-09-29 16:48:31 +0000 |
| commit | 64f61c7888c9cb2cbd7d37f87a6cbec2858ee409 (patch) | |
| tree | 2a4fced186a67c8021afc7c80e7525ae86397373 /src/libsyntax | |
| parent | d20183dbbff4b59da48aedf28e1eb38f55681b58 (diff) | |
| download | rust-64f61c7888c9cb2cbd7d37f87a6cbec2858ee409.tar.gz rust-64f61c7888c9cb2cbd7d37f87a6cbec2858ee409.zip | |
remove indexed_vec re-export from rustc_data_structures
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index bc468c1ad0e..7a5c92167bc 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -14,7 +14,7 @@ use crate::symbol::{kw, sym, Symbol}; use crate::tokenstream::TokenStream; use crate::ThinVec; -use rustc_data_structures::indexed_vec::Idx; +use rustc_index::vec::Idx; #[cfg(target_arch = "x86_64")] use rustc_data_structures::static_assert_size; use rustc_target::spec::abi::Abi; @@ -241,9 +241,8 @@ impl ParenthesizedArgs { // hack to ensure that we don't try to access the private parts of `NodeId` in this module mod node_id_inner { - use rustc_data_structures::indexed_vec::Idx; - use rustc_data_structures::newtype_index; - newtype_index! { + use rustc_index::vec::Idx; + rustc_index::newtype_index! { pub struct NodeId { ENCODABLE = custom DEBUG_FORMAT = "NodeId({})" |
