Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress incorrect_partial_ord_impl_on_ord_type lint within generated…
… code warning: incorrect implementation of `partial_cmp` on an `Ord` type --> tests/ffi/lib.rs:27:43 | 27 | #[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)] | ^^^^^^^^^^ help: change this to: `{ Some(self.cmp(other)) }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type = note: `-W clippy::incorrect-partial-ord-impl-on-ord-type` implied by `-W clippy::all` warning: incorrect implementation of `partial_cmp` on an `Ord` type --> tests/ffi/lib.rs:37:27 | 37 | #[derive(Debug, Hash, PartialOrd, Ord)] | ^^^^^^^^^^ help: change this to: `{ Some(self.cmp(other)) }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type warning: incorrect implementation of `partial_cmp` on an `Ord` type --> tests/ffi/lib.rs:89:69 | 89 | #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] | ^^^^^^^^^^ help: change this to: `{ Some(self.cmp(other)) }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
- Loading branch information