From b15152c430237d6850ec709ac75aab269c4b7dee Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Sat, 3 Apr 2021 20:14:21 +0200 Subject: Add TyBuilder --- crates/hir_ty/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crates') 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 { } } +struct TyBuilder {} + +impl TyBuilder { + +} + impl Ty { pub fn unit() -> Self { TyKind::Tuple(0, Substitution::empty(&Interner)).intern(&Interner) -- cgit v1.2.3