Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 8851e1a

Browse files
authored
Merge pull request #1544 from SimonSapin/plugin
Import rustc_plugin from its new location
2 parents 7dd4d81 + 5d808cd commit 8851e1a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rls/src/build/rustc.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ extern crate rustc_interface;
1515
#[allow(unused_extern_crates)]
1616
extern crate rustc_metadata;
1717
#[allow(unused_extern_crates)]
18-
extern crate rustc_plugin;
19-
#[allow(unused_extern_crates)]
2018
extern crate rustc_resolve;
2119
#[allow(unused_extern_crates)]
2220
extern crate rustc_save_analysis;
@@ -241,7 +239,7 @@ impl rustc_driver::Callbacks for RlsRustcCalls {
241239

242240
#[cfg(feature = "clippy")]
243241
fn clippy_after_parse_callback(compiler: &interface::Compiler) {
244-
use self::rustc_plugin::registry::Registry;
242+
use self::rustc_driver::plugin::registry::Registry;
245243

246244
let sess = compiler.session();
247245
let mut registry = Registry::new(

0 commit comments

Comments
 (0)