aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/hir/module
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_analysis/src/hir/module')
-rw-r--r--crates/ra_analysis/src/hir/module/mod.rs3
-rw-r--r--crates/ra_analysis/src/hir/module/nameres.rs2
2 files changed, 2 insertions, 3 deletions
diff --git a/crates/ra_analysis/src/hir/module/mod.rs b/crates/ra_analysis/src/hir/module/mod.rs
index 683cb5d4c..d2096b01e 100644
--- a/crates/ra_analysis/src/hir/module/mod.rs
+++ b/crates/ra_analysis/src/hir/module/mod.rs
@@ -15,9 +15,8 @@ use relative_path::RelativePathBuf;
15 15
16use crate::{ 16use crate::{
17 FileId, FilePosition, Cancelable, 17 FileId, FilePosition, Cancelable,
18 hir::{Path, PathKind, HirDatabase, SourceItemId}, 18 hir::{DefLoc, DefId, Path, PathKind, HirDatabase, SourceItemId},
19 arena::{Arena, Id}, 19 arena::{Arena, Id},
20 loc2id::{DefLoc, DefId},
21}; 20};
22 21
23pub(crate) use self::nameres::ModuleScope; 22pub(crate) use self::nameres::ModuleScope;
diff --git a/crates/ra_analysis/src/hir/module/nameres.rs b/crates/ra_analysis/src/hir/module/nameres.rs
index 5c87e7af2..d4ecc010b 100644
--- a/crates/ra_analysis/src/hir/module/nameres.rs
+++ b/crates/ra_analysis/src/hir/module/nameres.rs
@@ -28,8 +28,8 @@ use ra_db::SourceRootId;
28 28
29use crate::{ 29use crate::{
30 Cancelable, FileId, 30 Cancelable, FileId,
31 loc2id::{DefId, DefLoc},
32 hir::{ 31 hir::{
32 DefId, DefLoc,
33 SourceItemId, SourceFileItemId, SourceFileItems, 33 SourceItemId, SourceFileItemId, SourceFileItems,
34 Path, PathKind, 34 Path, PathKind,
35 HirDatabase, 35 HirDatabase,