diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-07-23 18:50:47 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-07-23 19:20:16 +0300 |
| commit | 614037171bf0140390033cc60f5e99aac079a0e5 (patch) | |
| tree | b2594323d8491d8f7c8e8621b55e5fa2db96dfa4 /src/librustc_errors | |
| parent | 3ebca72a11869f946b31f900faffb75c2bb2473a (diff) | |
| download | rust-614037171bf0140390033cc60f5e99aac079a0e5.tar.gz rust-614037171bf0140390033cc60f5e99aac079a0e5.zip | |
cleanup: Remove `extern crate serialize as rustc_serialize`s
Diffstat (limited to 'src/librustc_errors')
| -rw-r--r-- | src/librustc_errors/Cargo.toml | 2 | ||||
| -rw-r--r-- | src/librustc_errors/lib.rs | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/librustc_errors/Cargo.toml b/src/librustc_errors/Cargo.toml index 4df9632cce2..5a192e472aa 100644 --- a/src/librustc_errors/Cargo.toml +++ b/src/librustc_errors/Cargo.toml @@ -11,7 +11,7 @@ doctest = false [dependencies] log = "0.4" -serialize = { path = "../libserialize" } +rustc_serialize = { path = "../libserialize", package = "serialize" } syntax_pos = { path = "../libsyntax_pos" } rustc_data_structures = { path = "../librustc_data_structures" } unicode-width = "0.1.4" diff --git a/src/librustc_errors/lib.rs b/src/librustc_errors/lib.rs index 3269b85d0dd..0a6c02c0ca6 100644 --- a/src/librustc_errors/lib.rs +++ b/src/librustc_errors/lib.rs @@ -12,9 +12,6 @@ #![deny(rust_2018_idioms)] #![deny(unused_lifetimes)] -#[allow(unused_extern_crates)] -extern crate serialize as rustc_serialize; // used by deriving - pub use emitter::ColorConfig; use Level::*; |
