aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/hir/query_definitions.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_analysis/src/hir/query_definitions.rs')
-rw-r--r--crates/ra_analysis/src/hir/query_definitions.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/hir/query_definitions.rs b/crates/ra_analysis/src/hir/query_definitions.rs
index 6c633e9ab..e7fba5d72 100644
--- a/crates/ra_analysis/src/hir/query_definitions.rs
+++ b/crates/ra_analysis/src/hir/query_definitions.rs
@@ -38,7 +38,7 @@ pub(super) fn fn_scopes(db: &impl HirDatabase, fn_id: FnId) -> Arc<FnScopes> {
38} 38}
39 39
40pub(super) fn file_items(db: &impl HirDatabase, file_id: FileId) -> Arc<SourceFileItems> { 40pub(super) fn file_items(db: &impl HirDatabase, file_id: FileId) -> Arc<SourceFileItems> {
41 let source_file = db.file_syntax(file_id); 41 let source_file = db.source_file(file_id);
42 let source_file = source_file.borrowed(); 42 let source_file = source_file.borrowed();
43 let mut res = SourceFileItems::default(); 43 let mut res = SourceFileItems::default();
44 source_file 44 source_file