aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/db.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-06-19 23:14:12 +0100
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-06-19 23:14:12 +0100
commitcd1ff2e2a11dd781e051060c650537802dfbbe99 (patch)
tree61d493828139f283e638871eadd612252da0a546 /crates/ra_hir/src/db.rs
parent363f2f394e2c6423388a5e292adcccc38ee1df04 (diff)
parentbcff61257a678b54721aceab5aec7a9f6cce8d9c (diff)
Merge #1419
1419: Add firewall query to lang items r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
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 23c36014b..d8832a9de 100644
--- a/crates/ra_hir/src/db.rs
+++ b/crates/ra_hir/src/db.rs
@@ -121,6 +121,9 @@ pub trait DefDatabase: SourceDatabase {
121 #[salsa::invoke(crate::ConstData::static_data_query)] 121 #[salsa::invoke(crate::ConstData::static_data_query)]
122 fn static_data(&self, konst: Static) -> Arc<ConstData>; 122 fn static_data(&self, konst: Static) -> Arc<ConstData>;
123 123
124 #[salsa::invoke(crate::lang_item::LangItems::module_lang_items_query)]
125 fn module_lang_items(&self, module: Module) -> Option<Arc<LangItems>>;
126
124 #[salsa::invoke(crate::lang_item::LangItems::lang_items_query)] 127 #[salsa::invoke(crate::lang_item::LangItems::lang_items_query)]
125 fn lang_items(&self, krate: Crate) -> Arc<LangItems>; 128 fn lang_items(&self, krate: Crate) -> Arc<LangItems>;
126 129