diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2017-12-03 13:49:01 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2017-12-17 14:14:51 +0100 |
| commit | 970c613e4a785325469d4f694a16505d5deac17a (patch) | |
| tree | a3f3a22dfff0f3578a7530805eb275205483ac68 /src/librustc_trans_utils | |
| parent | 53a6d14e5bb8b1915a5f0b9371bbf0da934ed052 (diff) | |
| download | rust-970c613e4a785325469d4f694a16505d5deac17a.tar.gz rust-970c613e4a785325469d4f694a16505d5deac17a.zip | |
Add sync module to rustc_data_structures
Diffstat (limited to 'src/librustc_trans_utils')
| -rw-r--r-- | src/librustc_trans_utils/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/librustc_trans_utils/lib.rs | 1 | ||||
| -rw-r--r-- | src/librustc_trans_utils/trans_crate.rs | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/src/librustc_trans_utils/Cargo.toml b/src/librustc_trans_utils/Cargo.toml index 7d9d7cea933..cab44778baa 100644 --- a/src/librustc_trans_utils/Cargo.toml +++ b/src/librustc_trans_utils/Cargo.toml @@ -12,7 +12,6 @@ test = false [dependencies] ar = "0.3.0" flate2 = "0.2" -owning_ref = "0.3.3" log = "0.3" syntax = { path = "../libsyntax" } diff --git a/src/librustc_trans_utils/lib.rs b/src/librustc_trans_utils/lib.rs index d6f8707b874..3a42462e41e 100644 --- a/src/librustc_trans_utils/lib.rs +++ b/src/librustc_trans_utils/lib.rs @@ -29,7 +29,6 @@ extern crate ar; extern crate flate2; -extern crate owning_ref; #[macro_use] extern crate log; diff --git a/src/librustc_trans_utils/trans_crate.rs b/src/librustc_trans_utils/trans_crate.rs index 64589860161..800c3063c02 100644 --- a/src/librustc_trans_utils/trans_crate.rs +++ b/src/librustc_trans_utils/trans_crate.rs @@ -28,7 +28,7 @@ use std::fs::File; use std::path::Path; use std::sync::mpsc; -use owning_ref::{ErasedBoxRef, OwningRef}; +use rustc_data_structures::owning_ref::{ErasedBoxRef, OwningRef}; use ar::{Archive, Builder, Header}; use flate2::Compression; use flate2::write::DeflateEncoder; |
