summaryrefslogtreecommitdiff
path: root/hobgoblin/src/output
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-08-09 17:09:32 +0100
committerMichael Williamson <mike@zwobble.org>2026-08-09 17:09:32 +0100
commita52ff23faed545f7f8ec2b0fa3cb0c7a31df3068 (patch)
tree17af48456698914e80e97f9360c69d63a94fe603 /hobgoblin/src/output
parent942ca80a1f6d1cded5cb112dd347f8301567fe3f (diff)
Add visibility to type aliases in Rust AST
Diffstat (limited to 'hobgoblin/src/output')
-rw-r--r--hobgoblin/src/output/lang/rust/ast.hob1
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 d2f16f9..3847dbd 100644
--- a/hobgoblin/src/output/lang/rust/ast.hob
+++ b/hobgoblin/src/output/lang/rust/ast.hob
@@ -36,6 +36,7 @@ struct RustFunctionParam {
// === Type aliases ===
struct RustTypeAlias {
+ field visibility: Option[RustVisibility];
field name: RustIdentifier;
field params: List[RustTypeParam];
field type: RustType;