]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-3344.rs
Add 'src/tools/clippy/' from commit 'd2708873ef711ec8ab45df1e984ecf24a96cd369'
[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() {}