summaryrefslogtreecommitdiff
path: root/hobgoblin
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-07-14 20:03:55 +0100
committerMichael Williamson <mike@zwobble.org>2026-07-14 20:03:55 +0100
commit6f7cc0826ffbcb6ab442d91da7b5385208f2af23 (patch)
tree5918b1ce7a4c914ec91f4d18ac9e64e4ee7336ed /hobgoblin
parentf6d9218df26adb6f377acc6cf1b821dca710f73b (diff)
Support Rust function as item
Diffstat (limited to 'hobgoblin')
-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 252155e..9c29cab 100644
--- a/hobgoblin/src/output/lang/rust/ast.hob
+++ b/hobgoblin/src/output/lang/rust/ast.hob
@@ -11,6 +11,7 @@ struct RustModule {
sum RustItem {
variant RustEnum;
+ variant RustFunction;
variant RustInherentImpl;
variant RustStructStruct;
variant RustTraitImpl;