aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/nameres/raw.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir_def/src/nameres/raw.rs')
-rw-r--r--crates/ra_hir_def/src/nameres/raw.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_hir_def/src/nameres/raw.rs b/crates/ra_hir_def/src/nameres/raw.rs
index 55a9634f8..7618cb059 100644
--- a/crates/ra_hir_def/src/nameres/raw.rs
+++ b/crates/ra_hir_def/src/nameres/raw.rs
@@ -18,7 +18,7 @@ use test_utils::tested_by;
18 18
19use crate::{ 19use crate::{
20 attr::{Attr, Attrs}, 20 attr::{Attr, Attrs},
21 db::DefDatabase2, 21 db::DefDatabase,
22 path::Path, 22 path::Path,
23 FileAstId, HirFileId, ModuleSource, Source, 23 FileAstId, HirFileId, ModuleSource, Source,
24}; 24};
@@ -67,14 +67,14 @@ impl ImportSourceMap {
67 67
68impl RawItems { 68impl RawItems {
69 pub(crate) fn raw_items_query( 69 pub(crate) fn raw_items_query(
70 db: &(impl DefDatabase2 + AstDatabase), 70 db: &(impl DefDatabase + AstDatabase),
71 file_id: HirFileId, 71 file_id: HirFileId,
72 ) -> Arc<RawItems> { 72 ) -> Arc<RawItems> {
73 db.raw_items_with_source_map(file_id).0 73 db.raw_items_with_source_map(file_id).0
74 } 74 }
75 75
76 pub(crate) fn raw_items_with_source_map_query( 76 pub(crate) fn raw_items_with_source_map_query(
77 db: &(impl DefDatabase2 + AstDatabase), 77 db: &(impl DefDatabase + AstDatabase),
78 file_id: HirFileId, 78 file_id: HirFileId,
79 ) -> (Arc<RawItems>, Arc<ImportSourceMap>) { 79 ) -> (Arc<RawItems>, Arc<ImportSourceMap>) {
80 let mut collector = RawItemsCollector { 80 let mut collector = RawItemsCollector {