Fix ord test breakage.
This commit is contained in:
parent
348d07f099
commit
6e9f997f8e
@ -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() {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user