diff options
author | Martin Fischer <martin@push-f.com> | 2021-11-26 10:39:52 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-11-26 11:45:54 +0100 |
commit | 774864c85efdcacec141ca803dbd8364b5126080 (patch) | |
tree | 2ab90e40b224fb3b9e5927e551a98a769a5197dc /tests/tests.rs | |
parent | d37cf6a72e633afb10ec78bdbeec6631d601adfe (diff) |
support dynamized supertraits with generics
Diffstat (limited to 'tests/tests.rs')
-rw-r--r-- | tests/tests.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tests.rs b/tests/tests.rs index 11bf10d..aa5e996 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -298,6 +298,10 @@ trait OneTrait: SomeTrait { fn test(&self) -> Self::X; } +#[dynamize::dynamize] +#[dynamized(Foo)] +trait OtherTrait<X>: Foo<X> {} + struct SuperError; trait Cache {} #[dynamize::dynamize] |