提交 6e9f997f 编写于 作者: G Graydon Hoare

Fix ord test breakage.

上级 348d07f0
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() {}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册