Skip to content

Commit

Permalink
Ignore derive_partial_eq_without_eq clippy lint
Browse files Browse the repository at this point in the history
    error: you are deriving `PartialEq` and can implement `Eq`
     --> tests/test_derive.rs:8:34
      |
    8 | #[derive(Serialize, Deserialize, PartialEq, Debug)]
      |                                  ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
      |
      = note: `-D clippy::derive-partial-eq-without-eq` implied by `-D clippy::all`
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
  • Loading branch information
dtolnay committed May 22, 2022
1 parent e196cd2 commit 20f4214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_derive.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![allow(clippy::ref_option_ref)]
#![allow(clippy::derive_partial_eq_without_eq, clippy::ref_option_ref)]

use serde_bytes::{ByteBuf, Bytes};
use serde_derive::{Deserialize, Serialize};
Expand Down

0 comments on commit 20f4214

Please sign in to comment.