diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-17 18:39:02 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-17 18:39:02 +0100 |
| commit | c82fcaa28e77fce24db5956862ca6355c1a8397d (patch) | |
| tree | 26a5552bd92ac00909db0ad4b27dc956b5174c96 /hobgoblin/src | |
| parent | 2ae4cc56fe917612e666d71540778298a79fdea4 (diff) | |
Support integer literal with explicit type in Rust AST
Diffstat (limited to 'hobgoblin/src')
| -rw-r--r-- | hobgoblin/src/output/lang/rust/ast.hob | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |
