Skip to content

Commit 4a97386

Browse files
committed
Clippy if_then_panic lint has been renamed to manual_assert
1 parent 5b14036 commit 4a97386

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎serde_derive/src/lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/7575
2525
clippy::collapsible_match,
2626
clippy::enum_variant_names,
27-
clippy::if_then_panic,
2827
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/6797
2928
clippy::manual_map,
3029
clippy::match_like_matches_macro,
@@ -45,6 +44,7 @@
4544
clippy::indexing_slicing,
4645
clippy::items_after_statements,
4746
clippy::let_underscore_drop,
47+
clippy::manual_assert,
4848
clippy::map_err_ignore,
4949
clippy::match_same_arms,
5050
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/6984

‎serde_derive_internals/lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
clippy::cognitive_complexity,
77
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/7575
88
clippy::collapsible_match,
9-
clippy::if_then_panic,
109
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/6797
1110
clippy::manual_map,
1211
clippy::missing_panics_doc,
@@ -24,6 +23,7 @@
2423
clippy::enum_glob_use,
2524
clippy::items_after_statements,
2625
clippy::let_underscore_drop,
26+
clippy::manual_assert,
2727
clippy::match_same_arms,
2828
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/6984
2929
clippy::match_wildcard_for_single_variants,

‎serde_test/src/lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
allow(
156156
cloned_instead_of_copied,
157157
empty_line_after_outer_attr,
158-
if_then_panic,
158+
manual_assert,
159159
missing_docs_in_private_items,
160160
missing_panics_doc,
161161
module_name_repetitions,

‎test_suite/tests/test_de.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![allow(
22
clippy::decimal_literal_representation,
3-
clippy::if_then_panic,
3+
clippy::manual_assert,
44
clippy::unreadable_literal
55
)]
66
#![cfg_attr(feature = "unstable", feature(never_type))]

0 commit comments

Comments
 (0)