summary refs log tree commit diff
path: root/src/test/run-pass/cmp-default.rs
AgeCommit message (Collapse)AuthorLines
2014-01-04Don't allow newtype structs to be dereferenced. #6246Brian Anderson-3/+9
2013-07-15cmp: Use default methods in trait Eq, require only Eq::eqblake2-ppc-1/+14
2013-07-13cmp: Use default methods in trait Ord, only require Ord::ltblake2-ppc-0/+43
It will be simpler to implement only one method for Ord, while we also allow implementing all four Ord methods for semantics or performance reasons. We only supply three default methods (and not four), because don't have any nice error reporting for the case where at least one method must be implemented, but it's arbitrary which.