From 7ca13ff240d748f459d6439563af492a05c27046 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 30 Apr 2022 21:20:57 -0700 Subject: [PATCH] Ignore type_repetition_in_bounds lint that is incompatible with msrv https://github.com/rust-lang/rust-clippy/issues/8772 --- serde/src/lib.rs | 1 + serde_test/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/serde/src/lib.rs b/serde/src/lib.rs index ab8f0c74..a75345d5 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -107,6 +107,7 @@ empty_enum, redundant_field_names, redundant_static_lifetimes, + type_repetition_in_bounds, // https://github.com/rust-lang/rust-clippy/issues/8772 // integer and float ser/de requires these sorts of casts cast_possible_truncation, cast_possible_wrap, diff --git a/serde_test/src/lib.rs b/serde_test/src/lib.rs index 3671ee61..c1cc2915 100644 --- a/serde_test/src/lib.rs +++ b/serde_test/src/lib.rs @@ -161,6 +161,7 @@ must_use_candidate, redundant_field_names, too_many_lines, + type_repetition_in_bounds, // https://github.com/rust-lang/rust-clippy/issues/8772 use_debug, use_self )