]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-3344.rs
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-3344.rs
1 #[derive(PartialEq)]
2 struct Thing(usize);
3 impl PartialOrd for Thing { //~ ERROR not all trait items implemented, missing: `partial_cmp`
4     fn le(&self, other: &Thing) -> bool { true }
5     fn ge(&self, other: &Thing) -> bool { true }
6 }
7 fn main() {}