From 4a3114a27d24e1ee95e1cde712ce3d11eeefcdc0 Mon Sep 17 00:00:00 2001 From: tyranron Date: Fri, 14 Jun 2024 16:01:54 +0200 Subject: [PATCH] Tune lints for 1.79 Rust --- codegen/impl/src/lib.rs | 4 ++-- codegen/shim/src/lib.rs | 4 ++-- codegen/src/lib.rs | 4 ++-- core/src/lib.rs | 4 ++-- src/lib.rs | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/codegen/impl/src/lib.rs b/codegen/impl/src/lib.rs index 5846ecb..7ff1d63 100644 --- a/codegen/impl/src/lib.rs +++ b/codegen/impl/src/lib.rs @@ -52,7 +52,6 @@ clippy::let_underscore_untyped, clippy::lossy_float_literal, clippy::manual_c_str_literals, - clippy::manual_clamp, clippy::map_err_ignore, clippy::mem_forget, clippy::missing_assert_message, @@ -79,7 +78,6 @@ clippy::rc_buffer, clippy::rc_mutex, clippy::read_zero_byte_vec, - clippy::readonly_write_lock, clippy::redundant_clone, clippy::redundant_type_annotations, clippy::ref_patterns, @@ -128,9 +126,11 @@ missing_copy_implementations, missing_debug_implementations, missing_docs, + redundant_lifetimes, semicolon_in_expressions_from_macros, single_use_lifetimes, unit_bindings, + unnameable_types, unreachable_pub, unsafe_op_in_unsafe_fn, unstable_features, diff --git a/codegen/shim/src/lib.rs b/codegen/shim/src/lib.rs index 3fbbb14..fa642ad 100644 --- a/codegen/shim/src/lib.rs +++ b/codegen/shim/src/lib.rs @@ -52,7 +52,6 @@ clippy::let_underscore_untyped, clippy::lossy_float_literal, clippy::manual_c_str_literals, - clippy::manual_clamp, clippy::map_err_ignore, clippy::mem_forget, clippy::missing_assert_message, @@ -79,7 +78,6 @@ clippy::rc_buffer, clippy::rc_mutex, clippy::read_zero_byte_vec, - clippy::readonly_write_lock, clippy::redundant_clone, clippy::redundant_type_annotations, clippy::ref_patterns, @@ -128,9 +126,11 @@ missing_copy_implementations, missing_debug_implementations, missing_docs, + redundant_lifetimes, semicolon_in_expressions_from_macros, single_use_lifetimes, unit_bindings, + unnameable_types, unreachable_pub, unsafe_op_in_unsafe_fn, unstable_features, diff --git a/codegen/src/lib.rs b/codegen/src/lib.rs index 5846ecb..7ff1d63 100644 --- a/codegen/src/lib.rs +++ b/codegen/src/lib.rs @@ -52,7 +52,6 @@ clippy::let_underscore_untyped, clippy::lossy_float_literal, clippy::manual_c_str_literals, - clippy::manual_clamp, clippy::map_err_ignore, clippy::mem_forget, clippy::missing_assert_message, @@ -79,7 +78,6 @@ clippy::rc_buffer, clippy::rc_mutex, clippy::read_zero_byte_vec, - clippy::readonly_write_lock, clippy::redundant_clone, clippy::redundant_type_annotations, clippy::ref_patterns, @@ -128,9 +126,11 @@ missing_copy_implementations, missing_debug_implementations, missing_docs, + redundant_lifetimes, semicolon_in_expressions_from_macros, single_use_lifetimes, unit_bindings, + unnameable_types, unreachable_pub, unsafe_op_in_unsafe_fn, unstable_features, diff --git a/core/src/lib.rs b/core/src/lib.rs index 98f6c18..d1be925 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -52,7 +52,6 @@ clippy::let_underscore_untyped, clippy::lossy_float_literal, clippy::manual_c_str_literals, - clippy::manual_clamp, clippy::map_err_ignore, clippy::mem_forget, clippy::missing_assert_message, @@ -79,7 +78,6 @@ clippy::rc_buffer, clippy::rc_mutex, clippy::read_zero_byte_vec, - clippy::readonly_write_lock, clippy::redundant_clone, clippy::redundant_type_annotations, clippy::ref_patterns, @@ -128,9 +126,11 @@ missing_copy_implementations, missing_debug_implementations, missing_docs, + redundant_lifetimes, semicolon_in_expressions_from_macros, single_use_lifetimes, unit_bindings, + unnameable_types, unreachable_pub, unsafe_op_in_unsafe_fn, unstable_features, diff --git a/src/lib.rs b/src/lib.rs index 0e38d71..4ffd0e5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -52,7 +52,6 @@ clippy::let_underscore_untyped, clippy::lossy_float_literal, clippy::manual_c_str_literals, - clippy::manual_clamp, clippy::map_err_ignore, clippy::mem_forget, clippy::missing_assert_message, @@ -79,7 +78,6 @@ clippy::rc_buffer, clippy::rc_mutex, clippy::read_zero_byte_vec, - clippy::readonly_write_lock, clippy::redundant_clone, clippy::redundant_type_annotations, clippy::ref_patterns, @@ -128,9 +126,11 @@ missing_copy_implementations, missing_debug_implementations, missing_docs, + redundant_lifetimes, semicolon_in_expressions_from_macros, single_use_lifetimes, unit_bindings, + unnameable_types, unreachable_pub, unsafe_op_in_unsafe_fn, unstable_features,