Skip to content

Fix nightly clippy derive_partial_eq_without_eq warning

German Maglione requested to merge ghm-virtio-fs/virtiofsd:fix-clippy-warn into main

The nightly version of clippy (v1.63.0) warns about implementing PartialEq without implementing Eq when all the member of the struct or enum implement both:

#[derive(Debug, Copy, Clone, PartialEq)]
                             ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`

For further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

Merge request reports