Skip to content

PartialOrd requires too many methods in f* core lib #1472

@maximebuyse

Description

@maximebuyse
#[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

Metadata

Metadata

Labels

f*F* backendproof-libIssues related the backend-specific definitions (in the proof-lib folder)

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions