aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/db.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src/db.rs')
-rw-r--r--crates/ra_hir/src/db.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ra_hir/src/db.rs b/crates/ra_hir/src/db.rs
index f88ae61bb..398e00c42 100644
--- a/crates/ra_hir/src/db.rs
+++ b/crates/ra_hir/src/db.rs
@@ -45,6 +45,9 @@ pub trait DefDatabase: SourceDatabase {
45 #[salsa::invoke(crate::ids::macro_arg_query)] 45 #[salsa::invoke(crate::ids::macro_arg_query)]
46 fn macro_arg(&self, macro_call: ids::MacroCallId) -> Option<Arc<tt::Subtree>>; 46 fn macro_arg(&self, macro_call: ids::MacroCallId) -> Option<Arc<tt::Subtree>>;
47 47
48 #[salsa::invoke(crate::ids::macro_expand_query)]
49 fn macro_expand(&self, macro_call: ids::MacroCallId) -> Result<Arc<tt::Subtree>, String>;
50
48 #[salsa::invoke(crate::ids::HirFileId::hir_parse_query)] 51 #[salsa::invoke(crate::ids::HirFileId::hir_parse_query)]
49 fn hir_parse(&self, file_id: HirFileId) -> TreeArc<SourceFile>; 52 fn hir_parse(&self, file_id: HirFileId) -> TreeArc<SourceFile>;
50 53