From c82fcaa28e77fce24db5956862ca6355c1a8397d Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 17 Jul 2026 18:39:02 +0100 Subject: Support integer literal with explicit type in Rust AST --- hobgoblin/src/output/lang/rust/ast.hob | 1 + 1 file changed, 1 insertion(+) (limited to 'hobgoblin/src') diff --git a/hobgoblin/src/output/lang/rust/ast.hob b/hobgoblin/src/output/lang/rust/ast.hob index ac903e1..7a405d4 100644 --- a/hobgoblin/src/output/lang/rust/ast.hob +++ b/hobgoblin/src/output/lang/rust/ast.hob @@ -168,6 +168,7 @@ struct RustIfExpression { struct RustIntegerLiteral { field value: Int64; + field type: Option[RustIdentifier]; } struct RustPrefixExpression { -- cgit v1.2.3