aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/db.rs
diff options
context:
space:
mode:
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(