trait Foo { type X: Into; } #[dynamize::dynamize] trait Bar: Foo { fn test(&self) -> Option<::X>; } fn main() {}