trait Foo { type B; } #[dynamize::dynamize] trait Bar { type A: Foo; fn test(&self) -> ::B; } fn main() {}