blob: de764b3d075d3987d15bf819cf361c3ca14495c0 (
plain)
1
2
3
4
5
6
7
|
#[derive(PartialEq)]
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 }
}
fn main() {}
|