workspace: add 1.78..=1.80 lints (#253)

cargo.toml: add lints
This commit is contained in:
hinto-janai 2024-08-09 19:08:56 -04:00 committed by GitHub
parent ca3b149b39
commit bca062d2f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -111,7 +111,10 @@ cast_lossless = "deny"
cast_ptr_alignment = "deny" cast_ptr_alignment = "deny"
checked_conversions = "deny" checked_conversions = "deny"
cloned_instead_of_copied = "deny" cloned_instead_of_copied = "deny"
const_is_empty = "deny"
doc_lazy_continuation = "deny"
doc_link_with_quotes = "deny" doc_link_with_quotes = "deny"
duplicated_attributes = "deny"
empty_enum = "deny" empty_enum = "deny"
enum_glob_use = "deny" enum_glob_use = "deny"
expl_impl_clone_on_copy = "deny" expl_impl_clone_on_copy = "deny"
@ -128,21 +131,28 @@ invalid_upcast_comparisons = "deny"
iter_filter_is_ok = "deny" iter_filter_is_ok = "deny"
iter_filter_is_some = "deny" iter_filter_is_some = "deny"
implicit_clone = "deny" implicit_clone = "deny"
legacy_numeric_constants = "deny"
manual_c_str_literals = "deny" manual_c_str_literals = "deny"
manual_pattern_char_comparison = "deny"
manual_instant_elapsed = "deny" manual_instant_elapsed = "deny"
manual_inspect = "deny"
manual_is_variant_and = "deny" manual_is_variant_and = "deny"
manual_let_else = "deny" manual_let_else = "deny"
manual_ok_or = "deny" manual_ok_or = "deny"
manual_string_new = "deny" manual_string_new = "deny"
manual_unwrap_or_default = "deny"
map_unwrap_or = "deny" map_unwrap_or = "deny"
match_bool = "deny" match_bool = "deny"
match_same_arms = "deny" match_same_arms = "deny"
match_wildcard_for_single_variants = "deny" match_wildcard_for_single_variants = "deny"
mismatching_type_param_order = "deny" mismatching_type_param_order = "deny"
missing_transmute_annotations = "deny"
mut_mut = "deny" mut_mut = "deny"
needless_bitwise_bool = "deny" needless_bitwise_bool = "deny"
needless_character_iteration = "deny"
needless_continue = "deny" needless_continue = "deny"
needless_for_each = "deny" needless_for_each = "deny"
needless_maybe_sized = "deny"
needless_raw_string_hashes = "deny" needless_raw_string_hashes = "deny"
no_effect_underscore_binding = "deny" no_effect_underscore_binding = "deny"
no_mangle_with_rust_abi = "deny" no_mangle_with_rust_abi = "deny"
@ -203,6 +213,7 @@ string_to_string = "deny"
rest_pat_in_fully_bound_structs = "deny" rest_pat_in_fully_bound_structs = "deny"
redundant_type_annotations = "deny" redundant_type_annotations = "deny"
infinite_loop = "deny" infinite_loop = "deny"
zero_repeat_side_effects = "deny"
# Warm # Warm
cast_possible_truncation = "deny" cast_possible_truncation = "deny"
@ -280,6 +291,7 @@ keyword_idents_2024 = "deny"
missing_abi = "deny" missing_abi = "deny"
non_ascii_idents = "deny" non_ascii_idents = "deny"
non_local_definitions = "deny" non_local_definitions = "deny"
redundant_lifetimes = "deny"
single_use_lifetimes = "deny" single_use_lifetimes = "deny"
trivial_casts = "deny" trivial_casts = "deny"
trivial_numeric_casts = "deny" trivial_numeric_casts = "deny"