summary refs log tree commit diff
path: root/src/test/run-pass/deriving-cmp-generic-struct.rs
AgeCommit message (Collapse)AuthorLines
2013-06-21vec: rm old_iter implementations, except BaseIterDaniel Micay-2/+2
The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`.
2013-06-04librustc: Disallow multiple patterns from appearing in a "let" declaration.Patrick Walton-4/+7
You can still initialize multiple variables at once with "let (x, y) = (1, 2)".
2013-04-12libsyntax: short-circuit on non-matching variants in deriving code.Huon Wilson-0/+49
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.