From e830f34ceb4401ca423740f843835db057ee7411 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 17 Jul 2026 17:23:35 +0100 Subject: Add tuple type expression to Rust AST --- hobgoblin/src/output/lang/rust/ast.hob | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hobgoblin') diff --git a/hobgoblin/src/output/lang/rust/ast.hob b/hobgoblin/src/output/lang/rust/ast.hob index dd71430..6979b42 100644 --- a/hobgoblin/src/output/lang/rust/ast.hob +++ b/hobgoblin/src/output/lang/rust/ast.hob @@ -200,6 +200,7 @@ sum RustType { variant RustMutableReferenceType; variant RustPath; variant RustSharedReferenceType; + variant RustTupleType; } struct RustImplTraitType { @@ -214,6 +215,10 @@ struct RustSharedReferenceType { field referencedType: RustType; } +struct RustTupleType { + field elementTypes: List[RustType]; +} + // == Paths == struct RustPath { -- cgit v1.2.3