1 2 3 4 5 6 7 8 9 10
type Foo<T> = Option<T>; #[dynamize::dynamize] trait Trait { type A: std::error::Error; fn a(&self) -> Option<Foo<Self::A>>; } fn main() {}