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

Commit 981708f

Browse files
committed
Fix import path for clippy feature
1 parent 8ab6288 commit 981708f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rls-rustc/src/clippy.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub fn adjust_args(args: Vec<String>, preference: ClippyPreference) -> Vec<Strin
4949

5050
#[cfg(feature = "clippy")]
5151
pub fn after_parse_callback(compiler: &rustc_interface::interface::Compiler) {
52-
use self::rustc_driver::plugin::registry::Registry;
52+
use rustc_driver::plugin::registry::Registry;
5353

5454
let sess = compiler.session();
5555
let mut registry = Registry::new(

0 commit comments

Comments
 (0)