summaryrefslogtreecommitdiff
path: root/examples/03-inductive-data-types
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-07-03 14:25:17 +0100
committerMichael Williamson <mike@zwobble.org>2026-07-03 14:25:17 +0100
commit98ca09b7b1ff3b82e3bb4de728417b176d56d4e7 (patch)
tree66c2c90f0415a5d482bfdc77b3a3a5cef71a5312 /examples/03-inductive-data-types
parentf70794a17a357c93014059f23db53fae4fcc578c (diff)
Qualify global paths
Diffstat (limited to 'examples/03-inductive-data-types')
-rw-r--r--examples/03-inductive-data-types/output/rust/src/arithmetic.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/03-inductive-data-types/output/rust/src/arithmetic.rs b/examples/03-inductive-data-types/output/rust/src/arithmetic.rs
index ab4049d..a9679dc 100644
--- a/examples/03-inductive-data-types/output/rust/src/arithmetic.rs
+++ b/examples/03-inductive-data-types/output/rust/src/arithmetic.rs
@@ -1,7 +1,7 @@
// Generated by hobgoblin.
pub enum Expression {
- Add(std::boxed::Box<crate::arithmetic::Add>),
+ Add(::std::boxed::Box<crate::arithmetic::Add>),
Const(crate::arithmetic::Const),
}
@@ -11,5 +11,5 @@ pub struct Add {
}
pub struct Const {
- pub value: i32,
+ pub value: ::core::primitive::i32,
}