@rustlang peeps: I want to write a blanket trait impl of From<T> for Type where T implements Trait, and Type also implements Trait, but where T and Type are not the same type. Is there a way in trait bounds to specify effectively "T: !Type" to avoid conflict w/ `From<T> for T`?
-
-
RFC time!
-
You might want to look into specialization; I’m not sure if you can do this via it or not
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.