From f9294409c336160ab819851e01dc6d1f52f3b90d Mon Sep 17 00:00:00 2001 From: tyranron Date: Thu, 28 Nov 2024 20:15:01 +0100 Subject: [PATCH] Tune lints for 1.83 Rust --- codegen/src/lib.rs | 7 ++----- core/src/lib.rs | 7 ++----- src/lib.rs | 7 ++----- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/codegen/src/lib.rs b/codegen/src/lib.rs index bd3b31a..fa2f67b 100644 --- a/codegen/src/lib.rs +++ b/codegen/src/lib.rs @@ -28,7 +28,6 @@ clippy::derive_partial_eq_without_eq, clippy::else_if_without_else, clippy::empty_drop, - clippy::empty_line_after_outer_attr, clippy::empty_structs_with_brackets, clippy::equatable_if_let, clippy::empty_enum_variants_with_brackets, @@ -37,13 +36,11 @@ clippy::fallible_impl_from, clippy::filetype_is_file, clippy::float_cmp_const, - clippy::fn_to_numeric_cast, clippy::fn_to_numeric_cast_any, clippy::format_push_string, clippy::get_unwrap, clippy::if_then_some_else_none, clippy::imprecise_flops, - clippy::index_refutable_slice, clippy::infinite_loop, clippy::iter_on_empty_collections, clippy::iter_on_single_items, @@ -53,7 +50,6 @@ clippy::large_stack_frames, clippy::let_underscore_untyped, clippy::lossy_float_literal, - clippy::manual_c_str_literals, clippy::map_err_ignore, clippy::mem_forget, clippy::missing_assert_message, @@ -67,6 +63,7 @@ clippy::needless_collect, clippy::needless_pass_by_ref_mut, clippy::needless_raw_strings, + clippy::non_zero_suggestions, clippy::nonstandard_macro_braces, clippy::option_if_let_else, clippy::or_fun_call, @@ -77,7 +74,6 @@ clippy::print_stderr, clippy::print_stdout, clippy::pub_without_shorthand, - clippy::ref_as_ptr, clippy::rc_buffer, clippy::rc_mutex, clippy::read_zero_byte_vec, @@ -118,6 +114,7 @@ clippy::unneeded_field_pattern, clippy::unused_peekable, clippy::unused_result_ok, + clippy::unused_trait_names, clippy::unwrap_in_result, clippy::unwrap_used, clippy::use_debug, diff --git a/core/src/lib.rs b/core/src/lib.rs index d79f5c2..f4c1ad3 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -29,7 +29,6 @@ clippy::derive_partial_eq_without_eq, clippy::else_if_without_else, clippy::empty_drop, - clippy::empty_line_after_outer_attr, clippy::empty_structs_with_brackets, clippy::equatable_if_let, clippy::empty_enum_variants_with_brackets, @@ -38,13 +37,11 @@ clippy::fallible_impl_from, clippy::filetype_is_file, clippy::float_cmp_const, - clippy::fn_to_numeric_cast, clippy::fn_to_numeric_cast_any, clippy::format_push_string, clippy::get_unwrap, clippy::if_then_some_else_none, clippy::imprecise_flops, - clippy::index_refutable_slice, clippy::infinite_loop, clippy::iter_on_empty_collections, clippy::iter_on_single_items, @@ -54,7 +51,6 @@ clippy::large_stack_frames, clippy::let_underscore_untyped, clippy::lossy_float_literal, - clippy::manual_c_str_literals, clippy::map_err_ignore, clippy::mem_forget, clippy::missing_assert_message, @@ -68,6 +64,7 @@ clippy::needless_collect, clippy::needless_pass_by_ref_mut, clippy::needless_raw_strings, + clippy::non_zero_suggestions, clippy::nonstandard_macro_braces, clippy::option_if_let_else, clippy::or_fun_call, @@ -78,7 +75,6 @@ clippy::print_stderr, clippy::print_stdout, clippy::pub_without_shorthand, - clippy::ref_as_ptr, clippy::rc_buffer, clippy::rc_mutex, clippy::read_zero_byte_vec, @@ -119,6 +115,7 @@ clippy::unneeded_field_pattern, clippy::unused_peekable, clippy::unused_result_ok, + clippy::unused_trait_names, clippy::unwrap_in_result, clippy::unwrap_used, clippy::use_debug, diff --git a/src/lib.rs b/src/lib.rs index 66d4f50..93a9673 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -29,7 +29,6 @@ clippy::derive_partial_eq_without_eq, clippy::else_if_without_else, clippy::empty_drop, - clippy::empty_line_after_outer_attr, clippy::empty_structs_with_brackets, clippy::equatable_if_let, clippy::empty_enum_variants_with_brackets, @@ -38,13 +37,11 @@ clippy::fallible_impl_from, clippy::filetype_is_file, clippy::float_cmp_const, - clippy::fn_to_numeric_cast, clippy::fn_to_numeric_cast_any, clippy::format_push_string, clippy::get_unwrap, clippy::if_then_some_else_none, clippy::imprecise_flops, - clippy::index_refutable_slice, clippy::infinite_loop, clippy::iter_on_empty_collections, clippy::iter_on_single_items, @@ -54,7 +51,6 @@ clippy::large_stack_frames, clippy::let_underscore_untyped, clippy::lossy_float_literal, - clippy::manual_c_str_literals, clippy::map_err_ignore, clippy::mem_forget, clippy::missing_assert_message, @@ -68,6 +64,7 @@ clippy::needless_collect, clippy::needless_pass_by_ref_mut, clippy::needless_raw_strings, + clippy::non_zero_suggestions, clippy::nonstandard_macro_braces, clippy::option_if_let_else, clippy::or_fun_call, @@ -78,7 +75,6 @@ clippy::print_stderr, clippy::print_stdout, clippy::pub_without_shorthand, - clippy::ref_as_ptr, clippy::rc_buffer, clippy::rc_mutex, clippy::read_zero_byte_vec, @@ -119,6 +115,7 @@ clippy::unneeded_field_pattern, clippy::unused_peekable, clippy::unused_result_ok, + clippy::unused_trait_names, clippy::unwrap_in_result, clippy::unwrap_used, clippy::use_debug,