aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/loc2id.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_analysis/src/loc2id.rs')
-rw-r--r--crates/ra_analysis/src/loc2id.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_analysis/src/loc2id.rs b/crates/ra_analysis/src/loc2id.rs
index 8af7b642b..49af19c75 100644
--- a/crates/ra_analysis/src/loc2id.rs
+++ b/crates/ra_analysis/src/loc2id.rs
@@ -9,7 +9,7 @@ use rustc_hash::FxHashMap;
9 9
10use crate::{ 10use crate::{
11 FileId, 11 FileId,
12 hir::{FileItemId, ModuleId}, 12 hir::{SourceFileItemId, ModuleId},
13 syntax_ptr::SyntaxPtr, 13 syntax_ptr::SyntaxPtr,
14 input::SourceRootId, 14 input::SourceRootId,
15}; 15};
@@ -104,7 +104,7 @@ pub(crate) enum DefLoc {
104 }, 104 },
105 Item { 105 Item {
106 file_id: FileId, 106 file_id: FileId,
107 id: FileItemId, 107 id: SourceFileItemId,
108 }, 108 },
109} 109}
110 110