Skip to content

Commit

Permalink
Clippy if_then_panic lint has been renamed to manual_assert
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 5, 2021
1 parent 5b14036 commit 4a97386
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion serde_derive/src/lib.rs
Expand Up @@ -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,
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion serde_derive_internals/lib.rs
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion serde_test/src/lib.rs
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion 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))]
Expand Down

0 comments on commit 4a97386

Please sign in to comment.