From 5733c754d553e73a3da31a5bb2b7f3656754e1c9 Mon Sep 17 00:00:00 2001 From: Devon Hollowood Date: Tue, 26 Oct 2021 13:55:51 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Fridtjof Stoldt --- tests/ui/rename.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/ui/rename.rs b/tests/ui/rename.rs index 9375dc464d6..377075c0246 100644 --- a/tests/ui/rename.rs +++ b/tests/ui/rename.rs @@ -7,14 +7,12 @@ #![allow(clippy::new_without_default)] #![allow(clippy::redundant_static_lifetimes)] #![allow(clippy::bind_instead_of_map)] -#![allow(clippy::block_in_if_condition_expr)] -#![allow(clippy::block_in_if_condition_stmt)] #![allow(clippy::box_collection)] #![allow(clippy::blocks_in_if_conditions)] #![allow(clippy::map_unwrap_or)] #![allow(clippy::unwrap_used)] #![allow(clippy::expect_used)] -#![allow(clippy::for_loop_over_fallibles)] +#![allow(clippy::for_loops_over_fallibles)] #![allow(clippy::useless_conversion)] #![allow(clippy::invisible_characters)] #![allow(clippy::single_char_add_str)] @@ -34,9 +32,10 @@ #![warn(clippy::new_without_default_derive)] #![warn(clippy::const_static_lifetime)] #![warn(clippy::cyclomatic_complexity)] -#![warn(clippy::mem_discriminant_non_enum)] #![warn(clippy::option_and_then_some)] #![warn(clippy::box_vec)] +#![warn(clippy::block_in_if_condition_expr)] +#![warn(clippy::block_in_if_condition_stmt)] #![warn(clippy::option_map_unwrap_or)] #![warn(clippy::option_map_unwrap_or_else)] #![warn(clippy::result_map_unwrap_or_else)]