From d4d860123ccea2d0ec116728a82598e8a55845bc Mon Sep 17 00:00:00 2001 From: sagie gur ari Date: Tue, 14 Feb 2023 07:10:59 +0000 Subject: [PATCH] update lint rules --- src/lib.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index f5f2acc..58cb525 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,12 +8,12 @@ bad_asm_style, bindings_with_variant_name, break_with_label_and_loop, + byte_slice_in_packed_struct_with_derive, cenum_impl_drop_cast, clashing_extern_declarations, coherence_leak_check, conflicting_repr_hints, confusable_idents, - const_err, const_evaluatable_unchecked, const_item_mutation, dead_code, @@ -30,10 +30,12 @@ enum_intrinsics_non_enums, explicit_outlives_requirements, exported_private_dependencies, + for_loops_over_fallibles, forbidden_lint_groups, function_item_references, ill_formed_attribute_input, illegal_floating_point_literal_pattern, + implied_bounds_entailment, improper_ctypes, improper_ctypes_definitions, incomplete_features, @@ -50,6 +52,8 @@ large_assignments, late_bound_lifetime_arguments, legacy_derive_helpers, + let_underscore_drop, + let_underscore_lock, macro_expanded_macro_exports_accessed_by_absolute_paths, meta_variable_misuse, missing_abi, @@ -70,6 +74,7 @@ non_upper_case_globals, nontrivial_structural_match, noop_method_call, + opaque_hidden_inferred_bound, order_dependent_trait_objects, overflowing_literals, overlapping_range_endpoints, @@ -88,6 +93,7 @@ rust_2021_prelude_collisions, semicolon_in_expressions_from_macros, soft_unstable, + special_module_name, stable_features, suspicious_auto_trait_impls, temporary_cstring_as_ptr, @@ -98,11 +104,11 @@ trivial_numeric_casts, type_alias_bounds, tyvar_behind_raw_pointer, - unaligned_references, uncommon_codepoints, unconditional_panic, unconditional_recursion, unexpected_cfgs, + ungated_async_fn_track_caller, uninhabited_static, unknown_crate_types, unnameable_test_items, @@ -113,6 +119,7 @@ unsafe_op_in_unsafe_fn, unstable_features, unstable_name_collisions, + unstable_syntax_pre_expansion, unsupported_calling_conventions, unused_allocation, unused_assignments, @@ -134,6 +141,7 @@ unused_mut, unused_parens, unused_qualifications, + unused_tuple_struct_fields, unused_unsafe, unused_variables, useless_deprecated,