2014-12-31 17:32:49 +13:00
|
|
|
#[derive(PartialEq)]
|
2018-12-16 22:21:47 -05:00
|
|
|
struct Thing(usize);
|
|
|
|
impl PartialOrd for Thing { //~ ERROR not all trait items implemented, missing: `partial_cmp`
|
|
|
|
fn le(&self, other: &Thing) -> bool { true }
|
|
|
|
fn ge(&self, other: &Thing) -> bool { true }
|
2012-09-06 17:44:42 -07:00
|
|
|
}
|
|
|
|
fn main() {}
|