can anyone tell me why these are conflicting implementations: impl<T> MyTrait<T> for &mut T and impl<T, F> MyTrait<T> for F where F: FnMut() -> T
Negative trait bounds are not allowed yet AFAIK, apart from Sized and Sync?
-
-
It's part of the longer discussion/epic of specialisation - more knowledgeable folks can probably give you more precise pointers.
-
I'm told chalk will support it
End of conversation
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.
Writing about stuff to learn how it works, mostly in Rust.
Lead Engineer at