I'm trying to compile the code at play.rust-lang.org.
The snippet should contain two trait impls for a struct S,
- impl<T: BufRead> TryFrom for S
- impl<T: BufRead> From for S
The second impl compiles, whereas the first does not.
The error message
error[E0119]: conflicting implementations of trait `std::convert::TryFrom<_>` for type `S`
isn't helping much, to be honest.
I tried to reduce the snippet as much as possible.
Can you help my understand what is wrong here?