aboutsummaryrefslogtreecommitdiff
path: root/src/tests/example_stack
diff options
context:
space:
mode:
authorAria <me@aria.rip>2023-12-08 18:28:09 +0000
committerAria <me@aria.rip>2023-12-08 18:28:09 +0000
commitd7817691e2f684b425244de7d28d44f03e900a19 (patch)
tree3650c1addb57ee17a6e9c8553daf2cc962f96e20 /src/tests/example_stack
parent85c57002b70da3a99ae23e6a0502c0b3130e02e4 (diff)
fix(primrose): fix code generation using opaque types
this requires an unstable feature unfortunately, but is still preferable to Box<dyn> for now.
Diffstat (limited to 'src/tests/example_stack')
-rw-r--r--src/tests/example_stack/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/example_stack/src/lib.rs b/src/tests/example_stack/src/lib.rs
index d8e95f3..086dd6a 100644
--- a/src/tests/example_stack/src/lib.rs
+++ b/src/tests/example_stack/src/lib.rs
@@ -1,4 +1,6 @@
+#![feature(type_alias_impl_trait)]
mod types;
+use primrose_library::traits::Container;
use types::*;
pub fn do_something() {