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 )