From d7817691e2f684b425244de7d28d44f03e900a19 Mon Sep 17 00:00:00 2001 From: Aria Date: Fri, 8 Dec 2023 18:28:09 +0000 Subject: fix(primrose): fix code generation using opaque types this requires an unstable feature unfortunately, but is still preferable to Box for now. --- src/tests/example_stack/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tests') 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() { -- cgit v1.2.3