Clippy if_then_panic lint has been renamed to manual_assert

This commit is contained in:
David Tolnay 2021-11-04 19:57:14 -07:00
parent 5b140361a3
commit 4a97386cb9
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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,

View File

@ -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,

View File

@ -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))]