Skip to content

Commit

Permalink
Import rustc_plugin from its new location
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Aug 22, 2019
1 parent 7dd4d81 commit 5d808cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rls/src/build/rustc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ extern crate rustc_interface;
#[allow(unused_extern_crates)]
extern crate rustc_metadata;
#[allow(unused_extern_crates)]
extern crate rustc_plugin;
#[allow(unused_extern_crates)]
extern crate rustc_resolve;
#[allow(unused_extern_crates)]
extern crate rustc_save_analysis;
Expand Down Expand Up @@ -241,7 +239,7 @@ impl rustc_driver::Callbacks for RlsRustcCalls {

#[cfg(feature = "clippy")]
fn clippy_after_parse_callback(compiler: &interface::Compiler) {
use self::rustc_plugin::registry::Registry;
use self::rustc_driver::plugin::registry::Registry;

let sess = compiler.session();
let mut registry = Registry::new(
Expand Down

0 comments on commit 5d808cd

Please sign in to comment.