Hey there!
I hope someone can help me out with this problem. Basically I am trying to implement a trait X for every type T which also implements trait Y.
I do it like that:
impl<T: Y> X for T {}
It works, but when I try to implement the trait std::fmt::Display for my all types implementing my trait, then I get an error:
error[E0119]: conflicting implementations of trait std::fmt::Display
for type &_
Playground example: https://play.rust-lang.org/?gist=9a07f9462c120f1f1c47f5abb48d2040&version=stable
I hope someone can point out, what I am doing wrong.