about summary refs log tree commit diff
path: root/src/libsyntax/ext/deriving/cmp/eq.rs
AgeCommit message (Collapse)AuthorLines
2013-05-07libsyntax: extend generic deriving code to handle almost all possible traits.Huon Wilson-9/+10
This adds support for static methods, and arguments of most types, traits with type parameters, methods with type parameters (and lifetimes for both), as well as making the code more robust to support deriving on types with lifetimes (i.e. 'self).
2013-04-12libsyntax: short-circuit on non-matching variants in deriving code.Huon Wilson-13/+13
Allow a deriving instance using the generic code to short-circuit for any non-matching enum variants (grouping them all into a _ match), reducing the number of arms required. Use this to speed up the Eq & TotalEq implementations.
2013-04-12libsyntax: derive Clone, Eq, TotalEq, Ord, TotalOrd with the new generic ↵Huon Wilson-0/+65
deriving code. Closes #4269, #5588 and #5589.