From 1fcb2f3803a62c1d64969e3cd64f13a1231b431c Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Thu, 25 Jul 2024 09:31:31 -0400 Subject: [PATCH] Update lints for Rust 1.80 --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 8ceff98..22515d6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -74,6 +74,7 @@ irrefutable_let_patterns = "deny" mixed_script_confusables = "deny" named_arguments_used_positionally = "deny" no_mangle_generic_items = "deny" +non_contiguous_range_endpoints = "deny" non_fmt_panics = "deny" non_shorthand_field_patterns = "deny" noop_method_call = "deny" @@ -90,6 +91,7 @@ trivial_bounds = "deny" type_alias_bounds = "deny" unconditional_recursion = "deny" undefined_naked_function_abi = "deny" +unexpected_cfgs = "deny" ungated_async_fn_track_caller = "deny" unknown_lints = "deny" unused_associated_type_bounds = "deny" @@ -206,6 +208,7 @@ rest_pat_in_fully_bound_structs = "deny" same_functions_in_if_condition = "deny" semicolon_if_nothing_returned = "deny" should_panic_without_expect = "deny" +single_char_pattern = "deny" single_match_else = "deny" stable_sort_primitive = "deny" string_add_assign = "deny"