#[derive(PartialEq, Eq)]
struct A(u8);
impl PartialOrd for A {
fn partial_cmp(&self, other: &A) -> Option<std::cmp::Ordering> {
(&self.0).partial_cmp(&other.0)
}
}
Open this code snippet in the playground
This fails because of missing methods. @clementblaudeau this seems to be a regression from 6dede43
Open this code snippet in the playground
This fails because of missing methods. @clementblaudeau this seems to be a regression from 6dede43