On 7/18/13 12:06 PM, Corey Richardson wrote:
Thinking about it more over lunch I came to the same conclusion: we
need a generic way to automatically derive trait implementations for
types which are eligible. #[deriving(Eq, Ord, TotalOrd, TotalEq,
IterBytes, Clone)] should be the default. Almost every type wants
them, and your type can be crippled without them.

Automatically generating, typechecking, code generating, and then probably throwing away 6 implementations for every type has the potential for effects on compile time...

Patrick

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to