about summary refs log tree commit diff
path: root/src/librustc_plugin_impl
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-01-18 21:53:53 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2020-01-18 21:53:53 +0100
commitde6046fa0ff6e57afa50174c001d1668ee7f3cf6 (patch)
tree779dfcfb556623b0d78f176392265316f8bf78d1 /src/librustc_plugin_impl
parent779f85bac6b304dd4cad5981acf053a2c0601582 (diff)
downloadrust-de6046fa0ff6e57afa50174c001d1668ee7f3cf6.tar.gz
rust-de6046fa0ff6e57afa50174c001d1668ee7f3cf6.zip
remove rustc_error_codes deps except in rustc_driver
Diffstat (limited to 'src/librustc_plugin_impl')
-rw-r--r--src/librustc_plugin_impl/Cargo.toml1
-rw-r--r--src/librustc_plugin_impl/load.rs1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/librustc_plugin_impl/Cargo.toml b/src/librustc_plugin_impl/Cargo.toml
index 41e6c699c34..2214838c846 100644
--- a/src/librustc_plugin_impl/Cargo.toml
+++ b/src/librustc_plugin_impl/Cargo.toml
@@ -18,4 +18,3 @@ rustc_lint = { path = "../librustc_lint" }
 rustc_metadata = { path = "../librustc_metadata" }
 syntax = { path = "../libsyntax" }
 rustc_span = { path = "../librustc_span" }
-rustc_error_codes = { path = "../librustc_error_codes" }
diff --git a/src/librustc_plugin_impl/load.rs b/src/librustc_plugin_impl/load.rs
index 65661ec24f0..84549c0dd45 100644
--- a/src/librustc_plugin_impl/load.rs
+++ b/src/librustc_plugin_impl/load.rs
@@ -3,7 +3,6 @@
 use crate::Registry;
 use rustc::middle::cstore::MetadataLoader;
 use rustc::session::Session;
-use rustc_error_codes::*;
 use rustc_errors::struct_span_err;
 use rustc_metadata::locator;
 use rustc_span::symbol::sym;