fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
437 B11 linesraw
1error[E0046]: not all trait items implemented, missing: `partial_cmp`
2  --> $DIR/issue-3344.rs:3:1
3   |
4LL | impl PartialOrd for Thing {
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `partial_cmp` in implementation
6   |
7   = help: implement the missing item: `fn partial_cmp(&self, _: &Thing) -> Option<std::cmp::Ordering> { todo!() }`
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0046`.