Skip to content

Commit

Permalink
Fix ord test breakage.
Browse files Browse the repository at this point in the history
  • Loading branch information
graydon committed Sep 20, 2012
1 parent 348d07f commit 6e9f997
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/compile-fail/issue-3344.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
enum thing = uint;
impl thing : cmp::Ord { //~ ERROR missing method `gt`
pure fn lt(other: &thing) -> bool { *self < *other }
pure fn le(other: &thing) -> bool { *self < *other }
pure fn ge(other: &thing) -> bool { *self < *other }
pure fn lt(other: &thing) -> bool { *self < **other }
pure fn le(other: &thing) -> bool { *self < **other }
pure fn ge(other: &thing) -> bool { *self < **other }
}
fn main() {}

0 comments on commit 6e9f997

Please sign in to comment.