]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-3344.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-3344.rs
CommitLineData
1a4d82fc 1#[derive(PartialEq)]
0731742a
XL
2struct Thing(usize);
3impl 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 }
223e47cc
LB
6}
7fn main() {}