diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2017-07-16 07:07:51 -0400 |
|---|---|---|
| committer | Sean Griffin <sean@seantheprogrammer.com> | 2018-03-01 08:04:26 -0700 |
| commit | c7953bb6d67dead45033434161be2ed8cdd6cd31 (patch) | |
| tree | 10e1b41ae54fb0bb43b63654954f89adac1e507c /src/librustc_data_structures | |
| parent | b680b12e949097602dd6d39009fee8c95d86a261 (diff) | |
| download | rust-c7953bb6d67dead45033434161be2ed8cdd6cd31.tar.gz rust-c7953bb6d67dead45033434161be2ed8cdd6cd31.zip | |
obtain `UnificationTable` and `snapshot_vec` from `ena` instead
The ena version has an improved interface. I suspect `librustc_data_structures` should start migrating out to crates.io in general.
Diffstat (limited to 'src/librustc_data_structures')
| -rw-r--r-- | src/librustc_data_structures/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/librustc_data_structures/lib.rs | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/librustc_data_structures/Cargo.toml b/src/librustc_data_structures/Cargo.toml index 23e42f6a672..40d557ee5e0 100644 --- a/src/librustc_data_structures/Cargo.toml +++ b/src/librustc_data_structures/Cargo.toml @@ -9,6 +9,7 @@ path = "lib.rs" crate-type = ["dylib"] [dependencies] +ena = "0.8.0" log = "0.4" serialize = { path = "../libserialize" } cfg-if = "0.1.2" diff --git a/src/librustc_data_structures/lib.rs b/src/librustc_data_structures/lib.rs index 33d760d0a14..265c6485830 100644 --- a/src/librustc_data_structures/lib.rs +++ b/src/librustc_data_structures/lib.rs @@ -39,6 +39,7 @@ #![cfg_attr(test, feature(test))] extern crate core; +extern crate ena; #[macro_use] extern crate log; extern crate serialize as rustc_serialize; // used by deriving @@ -63,10 +64,10 @@ pub mod indexed_vec; pub mod obligation_forest; pub mod sip128; pub mod snapshot_map; -pub mod snapshot_vec; +pub use ena::snapshot_vec; pub mod stable_hasher; pub mod transitive_relation; -pub mod unify; +pub use ena::unify; pub mod fx; pub mod tuple_slice; pub mod control_flow_graph; |
