1a4d82fc |
1 | #[derive(PartialEq)] |
0731742a XL |
2 | struct Thing(usize); |
3 | impl PartialOrd for Thing { //~ ERROR not all trait items implemented, missing: `partial_cmp` |
4 | fn le(&self, other: &Thing) -> bool { true } |
5 | fn ge(&self, other: &Thing) -> bool { true } |
223e47cc LB |
6 | } |
7 | fn main() {} |