aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2021-04-03 19:14:21 +0100
committerFlorian Diebold <[email protected]>2021-04-04 12:16:38 +0100
commitb15152c430237d6850ec709ac75aab269c4b7dee (patch)
tree0f5d88055a8890e0f5a10081e016724f6cdd57cc
parentc9bcbf9a43eb0bf1a5255f704080305e568f0a36 (diff)
Add TyBuilder
-rw-r--r--crates/hir_ty/src/lib.rs6
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
813struct TyBuilder {}
814
815impl TyBuilder {
816
817}
818
813impl Ty { 819impl 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)