diff --git a/src/test/compile-fail/issue-3344.rs b/src/test/compile-fail/issue-3344.rs index 227f589397e92a80a499cf7ee34e3f2b90ba7fd5..a18f8562be0b6ec82df297f1de64b7484fa57635 100644 --- a/src/test/compile-fail/issue-3344.rs +++ b/src/test/compile-fail/issue-3344.rs @@ -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() {}