From f3094857875fad3e65224117c86ca8f1d33c48c0 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 16 Aug 2021 19:31:54 -0700 Subject: [PATCH] Ignore buggy collapsible_match clippy lint https://github.com/rust-lang/rust-clippy/issues/7575 --- serde_derive/src/lib.rs | 2 ++ serde_derive_internals/lib.rs | 2 ++ 2 files changed, 4 insertions(+) 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,