diff --git a/serde_derive/src/lib.rs b/serde_derive/src/lib.rs index 1773b7a3..c1c240f8 100644 --- a/serde_derive/src/lib.rs +++ b/serde_derive/src/lib.rs @@ -24,7 +24,6 @@ // clippy bug: https://github.com/rust-lang/rust-clippy/issues/7575 clippy::collapsible_match, clippy::enum_variant_names, - clippy::if_then_panic, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6797 clippy::manual_map, clippy::match_like_matches_macro, @@ -45,6 +44,7 @@ clippy::indexing_slicing, clippy::items_after_statements, clippy::let_underscore_drop, + clippy::manual_assert, clippy::map_err_ignore, clippy::match_same_arms, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6984 diff --git a/serde_derive_internals/lib.rs b/serde_derive_internals/lib.rs index fa51c365..7e819def 100644 --- a/serde_derive_internals/lib.rs +++ b/serde_derive_internals/lib.rs @@ -6,7 +6,6 @@ clippy::cognitive_complexity, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/7575 clippy::collapsible_match, - clippy::if_then_panic, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6797 clippy::manual_map, clippy::missing_panics_doc, @@ -24,6 +23,7 @@ clippy::enum_glob_use, clippy::items_after_statements, clippy::let_underscore_drop, + clippy::manual_assert, clippy::match_same_arms, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6984 clippy::match_wildcard_for_single_variants, diff --git a/serde_test/src/lib.rs b/serde_test/src/lib.rs index 34e2fdd0..9ff4e9f0 100644 --- a/serde_test/src/lib.rs +++ b/serde_test/src/lib.rs @@ -155,7 +155,7 @@ allow( cloned_instead_of_copied, empty_line_after_outer_attr, - if_then_panic, + manual_assert, missing_docs_in_private_items, missing_panics_doc, module_name_repetitions, diff --git a/test_suite/tests/test_de.rs b/test_suite/tests/test_de.rs index 15b5d388..4aaa856d 100644 --- a/test_suite/tests/test_de.rs +++ b/test_suite/tests/test_de.rs @@ -1,6 +1,6 @@ #![allow( clippy::decimal_literal_representation, - clippy::if_then_panic, + clippy::manual_assert, clippy::unreadable_literal )] #![cfg_attr(feature = "unstable", feature(never_type))]