diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/hir_ty/src/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/hir_ty/src/lib.rs b/crates/hir_ty/src/lib.rs index 4c3d904bf..a8ddb43f5 100644 --- a/crates/hir_ty/src/lib.rs +++ b/crates/hir_ty/src/lib.rs | |||
@@ -810,6 +810,12 @@ impl TypeWalk for CallableSig { | |||
810 | } | 810 | } |
811 | } | 811 | } |
812 | 812 | ||
813 | struct TyBuilder {} | ||
814 | |||
815 | impl TyBuilder { | ||
816 | |||
817 | } | ||
818 | |||
813 | impl Ty { | 819 | impl Ty { |
814 | pub fn unit() -> Self { | 820 | pub fn unit() -> Self { |
815 | TyKind::Tuple(0, Substitution::empty(&Interner)).intern(&Interner) | 821 | TyKind::Tuple(0, Substitution::empty(&Interner)).intern(&Interner) |