aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/db.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-02-24 20:39:27 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-02-24 20:39:27 +0000
commitdfca3cbeb0680ad1e3694d442b6c761fe3007521 (patch)
treee87434ec26daadf0c3d1f8486391d6c183b29c49 /crates/ra_hir/src/db.rs
parent61d961263387f7293f3d0c4d7b8c8c9a07959ced (diff)
parentbd8ed644e4362785b079ba9fbe2d4e490a678d27 (diff)
Merge #894
894: Rename Type => TypeAlias r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/db.rs')
-rw-r--r--crates/ra_hir/src/db.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/crates/ra_hir/src/db.rs b/crates/ra_hir/src/db.rs
index b8bd82f0c..b8715abab 100644
--- a/crates/ra_hir/src/db.rs
+++ b/crates/ra_hir/src/db.rs
@@ -6,7 +6,7 @@ use ra_db::{SourceDatabase, salsa};
6use crate::{ 6use crate::{
7 MacroCallId, HirFileId, 7 MacroCallId, HirFileId,
8 SourceFileItems, SourceItemId, Crate, Module, HirInterner, 8 SourceFileItems, SourceItemId, Crate, Module, HirInterner,
9 Function, FnSignature, ExprScopes, 9 Function, FnSignature, ExprScopes, TypeAlias,
10 Struct, Enum, StructField, 10 Struct, Enum, StructField,
11 macros::MacroExpansion, 11 macros::MacroExpansion,
12 module_tree::ModuleTree, 12 module_tree::ModuleTree,
@@ -15,7 +15,9 @@ use crate::{
15 adt::{StructData, EnumData}, 15 adt::{StructData, EnumData},
16 impl_block::{ModuleImplBlocks, ImplSourceMap}, 16 impl_block::{ModuleImplBlocks, ImplSourceMap},
17 generics::{GenericParams, GenericDef}, 17 generics::{GenericParams, GenericDef},
18 ids::SourceFileItemId, nameres::Namespace, type_ref::TypeRef, code_model_api::Type 18 ids::SourceFileItemId,
19 nameres::Namespace,
20 type_ref::TypeRef,
19}; 21};
20 22
21#[salsa::query_group(PersistentHirDatabaseStorage)] 23#[salsa::query_group(PersistentHirDatabaseStorage)]
@@ -79,7 +81,7 @@ pub trait PersistentHirDatabase: SourceDatabase + AsRef<HirInterner> {
79 fn fn_signature(&self, func: Function) -> Arc<FnSignature>; 81 fn fn_signature(&self, func: Function) -> Arc<FnSignature>;
80 82
81 #[salsa::invoke(crate::type_alias::type_alias_ref_query)] 83 #[salsa::invoke(crate::type_alias::type_alias_ref_query)]
82 fn type_alias_ref(&self, typ: Type) -> Arc<TypeRef>; 84 fn type_alias_ref(&self, typ: TypeAlias) -> Arc<TypeRef>;
83} 85}
84 86
85#[salsa::query_group(HirDatabaseStorage)] 87#[salsa::query_group(HirDatabaseStorage)]