diff options
author | Florian Diebold <[email protected]> | 2021-04-09 13:33:03 +0100 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2021-04-09 13:33:31 +0100 |
commit | 8a2c4820821a9b266ed979ed9321431362cdb1b3 (patch) | |
tree | 2cdda87caaacd9ad6df034a25192ece0b0faaf34 /crates/hir_ty/src/chalk_cast.rs | |
parent | 2f02977e56a44a5f78576a25547672cd8f910f13 (diff) |
More cleanups
Diffstat (limited to 'crates/hir_ty/src/chalk_cast.rs')
-rw-r--r-- | crates/hir_ty/src/chalk_cast.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/crates/hir_ty/src/chalk_cast.rs b/crates/hir_ty/src/chalk_cast.rs deleted file mode 100644 index f27dee3fd..000000000 --- a/crates/hir_ty/src/chalk_cast.rs +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | //! Implementations of the Chalk `Cast` trait for our types. | ||
2 | |||
3 | use chalk_ir::interner::HasInterner; | ||
4 | |||
5 | use crate::{CallableSig, ReturnTypeImplTraits}; | ||
6 | |||
7 | macro_rules! has_interner { | ||
8 | ($t:ty) => { | ||
9 | impl HasInterner for $t { | ||
10 | type Interner = crate::Interner; | ||
11 | } | ||
12 | }; | ||
13 | } | ||
14 | |||
15 | has_interner!(CallableSig); | ||
16 | has_interner!(ReturnTypeImplTraits); | ||