diff --git a/serde_derive/src/lib.rs b/serde_derive/src/lib.rs index 7516a904..d483922c 100644 --- a/serde_derive/src/lib.rs +++ b/serde_derive/src/lib.rs @@ -21,6 +21,8 @@ // clippy false positive: https://github.com/rust-lang/rust-clippy/issues/7054 clippy::branches_sharing_code, clippy::cognitive_complexity, + // clippy bug: https://github.com/rust-lang/rust-clippy/issues/7575 + clippy::collapsible_match, clippy::enum_variant_names, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6797 clippy::manual_map, diff --git a/serde_derive_internals/lib.rs b/serde_derive_internals/lib.rs index 1f8ff187..aa00e3b1 100644 --- a/serde_derive_internals/lib.rs +++ b/serde_derive_internals/lib.rs @@ -4,6 +4,8 @@ // Ignored clippy lints #![allow( clippy::cognitive_complexity, + // clippy bug: https://github.com/rust-lang/rust-clippy/issues/7575 + clippy::collapsible_match, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6797 clippy::manual_map, clippy::missing_panics_doc,