aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/chalk_cast.rs
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2021-04-03 16:49:29 +0100
committerFlorian Diebold <[email protected]>2021-04-08 13:08:55 +0100
commit7e541e69b1eaab3c242c864a0930cb263d2cbaf5 (patch)
tree88fb29aa7e0b782efc9f91ec5676d93e4db4ffd7 /crates/hir_ty/src/chalk_cast.rs
parent926bfef0efc5caca2a04a50beaba9127338e21e0 (diff)
Add HasInterner bounds
Diffstat (limited to 'crates/hir_ty/src/chalk_cast.rs')
-rw-r--r--crates/hir_ty/src/chalk_cast.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/crates/hir_ty/src/chalk_cast.rs b/crates/hir_ty/src/chalk_cast.rs
index 1c3feabca..8bdd32ad6 100644
--- a/crates/hir_ty/src/chalk_cast.rs
+++ b/crates/hir_ty/src/chalk_cast.rs
@@ -5,7 +5,10 @@ use chalk_ir::{
5 interner::HasInterner, 5 interner::HasInterner,
6}; 6};
7 7
8use crate::{AliasEq, DomainGoal, GenericArg, GenericArgData, Interner, TraitRef, Ty, WhereClause}; 8use crate::{
9 AliasEq, CallableSig, DomainGoal, GenericArg, GenericArgData, Interner, PolyFnSig,
10 ReturnTypeImplTraits, TraitRef, Ty, WhereClause,
11};
9 12
10macro_rules! has_interner { 13macro_rules! has_interner {
11 ($t:ty) => { 14 ($t:ty) => {
@@ -24,3 +27,6 @@ macro_rules! transitive_impl {
24 } 27 }
25 }; 28 };
26} 29}
30
31has_interner!(CallableSig);
32has_interner!(ReturnTypeImplTraits);