blob: de764b3d075d3987d15bf819cf361c3ca14495c0 [file] [log] [blame]
#[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() {}