Skip to content

Commit

Permalink
Ignore faulty clippy lint in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbb committed May 23, 2022
1 parent a83882e commit 6798010
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions serde_with/tests/derives/lib.rs
@@ -1,3 +1,11 @@
#![allow(
// clippy is broken and shows wrong warnings
// clippy on stable does not know yet about the lint name
unknown_lints,
// https://github.com/rust-lang/rust-clippy/issues/8867
clippy::derive_partial_eq_without_eq,
)]

mod deserialize_fromstr;
mod serialize_display;
#[path = "../utils.rs"]
Expand Down
8 changes: 8 additions & 0 deletions serde_with/tests/rust.rs
@@ -1,3 +1,11 @@
#![allow(
// clippy is broken and shows wrong warnings
// clippy on stable does not know yet about the lint name
unknown_lints,
// https://github.com/rust-lang/rust-clippy/issues/8867
clippy::derive_partial_eq_without_eq,
)]

extern crate alloc;

mod utils;
Expand Down
8 changes: 8 additions & 0 deletions serde_with/tests/serde_as/lib.rs
@@ -1,3 +1,11 @@
#![allow(
// clippy is broken and shows wrong warnings
// clippy on stable does not know yet about the lint name
unknown_lints,
// https://github.com/rust-lang/rust-clippy/issues/8867
clippy::derive_partial_eq_without_eq,
)]

extern crate alloc;

mod collections;
Expand Down
8 changes: 8 additions & 0 deletions serde_with/tests/with_prefix.rs
@@ -1,3 +1,11 @@
#![allow(
// clippy is broken and shows wrong warnings
// clippy on stable does not know yet about the lint name
unknown_lints,
// https://github.com/rust-lang/rust-clippy/issues/8867
clippy::derive_partial_eq_without_eq,
)]

extern crate alloc;

mod utils;
Expand Down

0 comments on commit 6798010

Please sign in to comment.