23 points todsacerdoti 2 days ago 3 comments

juped 2 days ago | parent

This is an absurd. horrifying hack. I hope library authors start putting it in their traits immediately.

reallyreason 2 days ago | parent

Isn’t this essentially a form of, or encoding of, named impls?

hyperman1 1 day ago | parent

While I think rust is one of the best languages today, this is a corner where it reminds me of C++: Here is a rule with lots of tiny special cases, it has painful consequences in the real world, and if everyone adds some 'best practice' magic to their code, we have 90% of a solution.