aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/hir/function/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_analysis/src/hir/function/mod.rs')
-rw-r--r--crates/ra_analysis/src/hir/function/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/hir/function/mod.rs b/crates/ra_analysis/src/hir/function/mod.rs
index 280218fd4..e64a9f045 100644
--- a/crates/ra_analysis/src/hir/function/mod.rs
+++ b/crates/ra_analysis/src/hir/function/mod.rs
@@ -23,7 +23,7 @@ impl FnId {
23 let file_items = db.file_items(file_id); 23 let file_items = db.file_items(file_id);
24 let item_id = file_items.id_of(fn_def.syntax()); 24 let item_id = file_items.id_of(fn_def.syntax());
25 let item_id = SourceItemId { file_id, item_id }; 25 let item_id = SourceItemId { file_id, item_id };
26 db.id_maps().fn_id(item_id) 26 FnId::from_loc(db, &item_id)
27 } 27 }
28} 28}
29 29