diff --git a/serde/src/lib.rs b/serde/src/lib.rs index ae495282..527a680a 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -119,7 +119,7 @@ // clippy bug: https://github.com/rust-lang/rust-clippy/issues/7768 clippy::semicolon_if_nothing_returned, // not available in our oldest supported compiler - clippy::empty_enum, + clippy::empty_enums, clippy::type_repetition_in_bounds, // https://github.com/rust-lang/rust-clippy/issues/8772 // integer and float ser/de requires these sorts of casts clippy::cast_possible_truncation, diff --git a/serde_core/src/lib.rs b/serde_core/src/lib.rs index 58d143d7..b2b32b50 100644 --- a/serde_core/src/lib.rs +++ b/serde_core/src/lib.rs @@ -54,7 +54,7 @@ // clippy bug: https://github.com/rust-lang/rust-clippy/issues/7768 clippy::semicolon_if_nothing_returned, // not available in our oldest supported compiler - clippy::empty_enum, + clippy::empty_enums, clippy::type_repetition_in_bounds, // https://github.com/rust-lang/rust-clippy/issues/8772 // integer and float ser/de requires these sorts of casts clippy::cast_possible_truncation, diff --git a/test_suite/tests/test_de.rs b/test_suite/tests/test_de.rs index 2e80fbaf..707c0c70 100644 --- a/test_suite/tests/test_de.rs +++ b/test_suite/tests/test_de.rs @@ -2,7 +2,7 @@ clippy::cast_lossless, clippy::decimal_literal_representation, clippy::derive_partial_eq_without_eq, - clippy::empty_enum, + clippy::empty_enums, clippy::manual_assert, clippy::needless_pass_by_value, clippy::uninlined_format_args, diff --git a/test_suite/tests/test_de_error.rs b/test_suite/tests/test_de_error.rs index cae5edda..32a425a7 100644 --- a/test_suite/tests/test_de_error.rs +++ b/test_suite/tests/test_de_error.rs @@ -1,6 +1,6 @@ #![allow( clippy::derive_partial_eq_without_eq, - clippy::empty_enum, + clippy::empty_enums, clippy::unreadable_literal )] #![cfg_attr(feature = "unstable", feature(never_type))]