aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/db.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-11-23 08:15:05 +0000
committerGitHub <[email protected]>2019-11-23 08:15:05 +0000
commit05939d504345673b20f701ec6a2dfec043e6c8a4 (patch)
treecd57fc21ce442e84bdc41241a70ece9995d826af /crates/ra_hir/src/db.rs
parent81bfbd26bef1a63ccbeba33430e6b07a53c8e7d9 (diff)
parent552ba868afc8f72202ac834d07bbeb330aca007d (diff)
Merge #2366
2366: Move attrs query to hir_def 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.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/ra_hir/src/db.rs b/crates/ra_hir/src/db.rs
index 85d46b485..c3f698ea0 100644
--- a/crates/ra_hir/src/db.rs
+++ b/crates/ra_hir/src/db.rs
@@ -2,7 +2,6 @@
2 2
3use std::sync::Arc; 3use std::sync::Arc;
4 4
5use hir_def::attr::Attrs;
6use ra_db::salsa; 5use ra_db::salsa;
7use ra_syntax::SmolStr; 6use ra_syntax::SmolStr;
8 7
@@ -46,9 +45,6 @@ pub trait DefDatabase: HirDebugDatabase + DefDatabase2 {
46 45
47 #[salsa::invoke(crate::code_model::docs::documentation_query)] 46 #[salsa::invoke(crate::code_model::docs::documentation_query)]
48 fn documentation(&self, def: crate::DocDef) -> Option<crate::Documentation>; 47 fn documentation(&self, def: crate::DocDef) -> Option<crate::Documentation>;
49
50 #[salsa::invoke(crate::code_model::attrs::attributes_query)]
51 fn attrs(&self, def: crate::AttrDef) -> Attrs;
52} 48}
53 49
54#[salsa::query_group(HirDatabaseStorage)] 50#[salsa::query_group(HirDatabaseStorage)]