diff options
| author | Keegan McAllister <kmcallister@mozilla.com> | 2014-12-20 23:02:38 -0800 |
|---|---|---|
| committer | Keegan McAllister <kmcallister@mozilla.com> | 2015-01-05 12:00:57 -0800 |
| commit | 24aa7f0e387e2a04795e80bc91b8b8adf6a1c98f (patch) | |
| tree | cfe1ecc23d63447416191eb9111a916ad7ec38c8 /src/librustc/plugin | |
| parent | 5171b325bd2c5600649cc98e65db0ef2e72c3f89 (diff) | |
| download | rust-24aa7f0e387e2a04795e80bc91b8b8adf6a1c98f.tar.gz rust-24aa7f0e387e2a04795e80bc91b8b8adf6a1c98f.zip | |
creader: Use a single struct
Diffstat (limited to 'src/librustc/plugin')
| -rw-r--r-- | src/librustc/plugin/load.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc/plugin/load.rs b/src/librustc/plugin/load.rs index a2e33454320..19d7c24c953 100644 --- a/src/librustc/plugin/load.rs +++ b/src/librustc/plugin/load.rs @@ -11,7 +11,7 @@ //! Used by `rustc` when loading a plugin. use session::Session; -use metadata::creader::PluginMetadataReader; +use metadata::creader::CrateReader; use plugin::registry::Registry; use std::mem; @@ -48,7 +48,7 @@ pub struct Plugins { struct PluginLoader<'a> { sess: &'a Session, - reader: PluginMetadataReader<'a>, + reader: CrateReader<'a>, plugins: Plugins, } @@ -56,7 +56,7 @@ impl<'a> PluginLoader<'a> { fn new(sess: &'a Session) -> PluginLoader<'a> { PluginLoader { sess: sess, - reader: PluginMetadataReader::new(sess), + reader: CrateReader::new(sess), plugins: Plugins { macros: vec!(), registrars: vec!(), |
