diff options
author | Jonas Schievink <[email protected]> | 2020-06-15 18:16:43 +0100 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-06-24 15:53:16 +0100 |
commit | 0e2602f75e17b35472637c8ebd8e6e436a5f2af4 (patch) | |
tree | 959a856badde77a0f554f66320a0ec02ffa90617 /crates/ra_hir_def/src/db.rs | |
parent | 7054e89d187287c0547ef43961bf4969aba57dd6 (diff) |
Remove raw item query
Diffstat (limited to 'crates/ra_hir_def/src/db.rs')
-rw-r--r-- | crates/ra_hir_def/src/db.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/ra_hir_def/src/db.rs b/crates/ra_hir_def/src/db.rs index c4c9e10a3..9c3ede2d7 100644 --- a/crates/ra_hir_def/src/db.rs +++ b/crates/ra_hir_def/src/db.rs | |||
@@ -16,7 +16,7 @@ use crate::{ | |||
16 | import_map::ImportMap, | 16 | import_map::ImportMap, |
17 | item_tree::ItemTree, | 17 | item_tree::ItemTree, |
18 | lang_item::{LangItemTarget, LangItems}, | 18 | lang_item::{LangItemTarget, LangItems}, |
19 | nameres::{raw::RawItems, CrateDefMap}, | 19 | nameres::CrateDefMap, |
20 | AttrDefId, ConstId, ConstLoc, DefWithBodyId, EnumId, EnumLoc, FunctionId, FunctionLoc, | 20 | AttrDefId, ConstId, ConstLoc, DefWithBodyId, EnumId, EnumLoc, FunctionId, FunctionLoc, |
21 | GenericDefId, ImplId, ImplLoc, ModuleId, StaticId, StaticLoc, StructId, StructLoc, TraitId, | 21 | GenericDefId, ImplId, ImplLoc, ModuleId, StaticId, StaticLoc, StructId, StructLoc, TraitId, |
22 | TraitLoc, TypeAliasId, TypeAliasLoc, UnionId, UnionLoc, | 22 | TraitLoc, TypeAliasId, TypeAliasLoc, UnionId, UnionLoc, |
@@ -46,9 +46,6 @@ pub trait InternDatabase: SourceDatabase { | |||
46 | 46 | ||
47 | #[salsa::query_group(DefDatabaseStorage)] | 47 | #[salsa::query_group(DefDatabaseStorage)] |
48 | pub trait DefDatabase: InternDatabase + AstDatabase + Upcast<dyn AstDatabase> { | 48 | pub trait DefDatabase: InternDatabase + AstDatabase + Upcast<dyn AstDatabase> { |
49 | #[salsa::invoke(RawItems::raw_items_query)] | ||
50 | fn raw_items(&self, file_id: HirFileId) -> Arc<RawItems>; | ||
51 | |||
52 | #[salsa::invoke(ItemTree::item_tree_query)] | 49 | #[salsa::invoke(ItemTree::item_tree_query)] |
53 | fn item_tree(&self, file_id: HirFileId) -> Arc<ItemTree>; | 50 | fn item_tree(&self, file_id: HirFileId) -> Arc<ItemTree>; |
54 | 51 | ||