Skip to content

Commit 6e9f997

Browse files
committed
Fix ord test breakage.
1 parent 348d07f commit 6e9f997

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/compile-fail/issue-3344.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
enum thing = uint;
22
impl thing : cmp::Ord { //~ ERROR missing method `gt`
3-
pure fn lt(other: &thing) -> bool { *self < *other }
4-
pure fn le(other: &thing) -> bool { *self < *other }
5-
pure fn ge(other: &thing) -> bool { *self < *other }
3+
pure fn lt(other: &thing) -> bool { *self < **other }
4+
pure fn le(other: &thing) -> bool { *self < **other }
5+
pure fn ge(other: &thing) -> bool { *self < **other }
66
}
77
fn main() {}

0 commit comments

Comments
 (0)