diff options
Diffstat (limited to 'crates/ra_analysis/src/descriptors/module')
-rw-r--r-- | crates/ra_analysis/src/descriptors/module/nameres.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_analysis/src/descriptors/module/nameres.rs b/crates/ra_analysis/src/descriptors/module/nameres.rs index bf671470c..4c555421d 100644 --- a/crates/ra_analysis/src/descriptors/module/nameres.rs +++ b/crates/ra_analysis/src/descriptors/module/nameres.rs | |||
@@ -23,7 +23,7 @@ use rustc_hash::FxHashMap; | |||
23 | 23 | ||
24 | use ra_syntax::{ | 24 | use ra_syntax::{ |
25 | SmolStr, SyntaxKind::{self, *}, | 25 | SmolStr, SyntaxKind::{self, *}, |
26 | ast::{self, AstNode, ModuleItemOwner} | 26 | ast::{self, ModuleItemOwner} |
27 | }; | 27 | }; |
28 | 28 | ||
29 | use crate::{ | 29 | use crate::{ |
@@ -309,7 +309,7 @@ where | |||
309 | 309 | ||
310 | let mut curr = match import.path.kind { | 310 | let mut curr = match import.path.kind { |
311 | // TODO: handle extern crates | 311 | // TODO: handle extern crates |
312 | PathKind::Abs => return, | 312 | PathKind::Plain => return, |
313 | PathKind::Self_ => module_id, | 313 | PathKind::Self_ => module_id, |
314 | PathKind::Super => { | 314 | PathKind::Super => { |
315 | match module_id.parent(&self.module_tree) { | 315 | match module_id.parent(&self.module_tree) { |