trait From { type Output; fn from(src: Src) -> >::Output; } trait To: Sized { fn to>(self) -> >::Dst //~^ ERROR cannot find associated type `Dst` in trait `From` { From::from(self) } } fn main() {}