1 trait From<Src> {
2     type Output;
3 
from(src: Src) -> <Self as From<Src>>::Output4     fn from(src: Src) -> <Self as From<Src>>::Output;
5 }
6 
7 trait To: Sized {
to<Dst: From<Self>>(self) -> <Dst as From<Self>>::Dst8     fn to<Dst: From<Self>>(self) ->
9         <Dst as From<Self>>::Dst
10         //~^ ERROR cannot find associated type `Dst` in trait `From`
11     {
12         From::from(self)
13     }
14 }
15 
main()16 fn main() {}
17