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-24 11:28:51 +0000
committerGitHub <[email protected]>2019-11-24 11:28:51 +0000
commit982a32aca317deb91ae03346cbc7880bd7d4429b (patch)
treef2e52047aa684cc4d8b253b3071cfa5a2d753ac9 /crates/ra_hir/src/db.rs
parentea3124c12a52f28163a6375b6a5e3c79fc14312d (diff)
parent9c766db5ff9dad3ca13539c186f40f657380a831 (diff)
Merge #2382
2382: Remove ids module 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.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/crates/ra_hir/src/db.rs b/crates/ra_hir/src/db.rs
index 3ae5df8d5..a9dab2d25 100644
--- a/crates/ra_hir/src/db.rs
+++ b/crates/ra_hir/src/db.rs
@@ -5,7 +5,6 @@ use std::sync::Arc;
5use ra_db::salsa; 5use ra_db::salsa;
6 6
7use crate::{ 7use crate::{
8 ids,
9 ty::{ 8 ty::{
10 method_resolution::CrateImplBlocks, 9 method_resolution::CrateImplBlocks,
11 traits::{AssocTyValue, Impl}, 10 traits::{AssocTyValue, Impl},
@@ -71,11 +70,14 @@ pub trait HirDatabase: DefDatabase {
71 70
72 // Interned IDs for Chalk integration 71 // Interned IDs for Chalk integration
73 #[salsa::interned] 72 #[salsa::interned]
74 fn intern_type_ctor(&self, type_ctor: TypeCtor) -> ids::TypeCtorId; 73 fn intern_type_ctor(&self, type_ctor: TypeCtor) -> crate::ty::TypeCtorId;
75 #[salsa::interned] 74 #[salsa::interned]
76 fn intern_chalk_impl(&self, impl_: Impl) -> ids::GlobalImplId; 75 fn intern_chalk_impl(&self, impl_: Impl) -> crate::ty::traits::GlobalImplId;
77 #[salsa::interned] 76 #[salsa::interned]
78 fn intern_assoc_ty_value(&self, assoc_ty_value: AssocTyValue) -> ids::AssocTyValueId; 77 fn intern_assoc_ty_value(
78 &self,
79 assoc_ty_value: AssocTyValue,
80 ) -> crate::ty::traits::AssocTyValueId;
79 81
80 #[salsa::invoke(crate::ty::traits::chalk::associated_ty_data_query)] 82 #[salsa::invoke(crate::ty::traits::chalk::associated_ty_data_query)]
81 fn associated_ty_data( 83 fn associated_ty_data(