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.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/crates/ra_analysis/src/loc2id.rs b/crates/ra_analysis/src/loc2id.rs
index 49af19c75..5b2c0f615 100644
--- a/crates/ra_analysis/src/loc2id.rs
+++ b/crates/ra_analysis/src/loc2id.rs
@@ -8,8 +8,7 @@ use std::{
8use rustc_hash::FxHashMap; 8use rustc_hash::FxHashMap;
9 9
10use crate::{ 10use crate::{
11 FileId, 11 hir::{SourceItemId, ModuleId},
12 hir::{SourceFileItemId, ModuleId},
13 syntax_ptr::SyntaxPtr, 12 syntax_ptr::SyntaxPtr,
14 input::SourceRootId, 13 input::SourceRootId,
15}; 14};
@@ -103,8 +102,7 @@ pub(crate) enum DefLoc {
103 source_root: SourceRootId, 102 source_root: SourceRootId,
104 }, 103 },
105 Item { 104 Item {
106 file_id: FileId, 105 source_item_id: SourceItemId,
107 id: SourceFileItemId,
108 }, 106 },
109} 107}
110 108