about summary refs log tree commit diff
path: root/src/test/run-pass/deriving-cmp-generic-struct-enum.rs
AgeCommit message (Collapse)AuthorLines
2013-04-12libsyntax: short-circuit on non-matching variants in deriving code.Huon Wilson-0/+52
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.