Update for rust 1.99

This commit is contained in:
2026-10-01 21:47:47 -06:00
parent c0c75a31d2
commit eb1de069f3
5 changed files with 25 additions and 41 deletions
+10 -3
View File
@@ -66,6 +66,7 @@ as_conversions = "deny"
as_pointer_underscore = "deny"
as_ptr_cast_mut = "deny"
as_underscore = "deny"
assert_is_empty = "allow"
assertions_on_result_states = "warn"
assigning_clones = "warn"
big_endian_bytes = "allow"
@@ -98,6 +99,7 @@ decimal_literal_representation = "warn"
default_numeric_fallback = "warn"
default_trait_access = "warn"
default_union_representation = "allow"
definition_in_module_root = "allow"
deref_by_slicing = "warn"
derive_partial_eq_without_eq = "warn"
disallowed_script_idents = "deny"
@@ -189,6 +191,7 @@ lossy_float_literal = "warn"
macro_use_imports = "warn"
manual_assert = "warn"
manual_assert_eq = "warn"
manual_bit_width = "warn"
manual_ilog2 = "warn"
manual_instant_elapsed = "warn"
manual_is_power_of_two = "warn"
@@ -245,7 +248,6 @@ non_send_fields_in_send_ty = "warn"
non_std_lazy_statics = "warn"
non_zero_suggestions = "warn"
nonminimal_bool = "warn"
nonstandard_macro_braces = "warn"
option_as_ref_cloned = "warn"
option_if_let_else = "warn"
option_option = "warn"
@@ -287,6 +289,7 @@ ref_option_ref = "warn"
ref_patterns = "warn"
renamed_function_params = "warn"
rest_pat_in_fully_bound_structs = "warn"
rest_pattern_accessible_field = "warn"
return_and_then = "warn"
return_self_not_must_use = "warn"
same_functions_in_if_condition = "warn"
@@ -350,6 +353,7 @@ unnecessary_box_returns = "warn"
unnecessary_debug_formatting = "warn"
unnecessary_join = "warn"
unnecessary_literal_bound = "warn"
unnecessary_rest_pattern = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unnecessary_self_imports = "warn"
@@ -479,7 +483,6 @@ mutable_transmutes = "deny"
named_arguments_used_positionally = "warn"
named_asm_labels = "deny"
no_mangle_const_items = "deny"
no_mangle_generic_items = "warn"
non_ascii_idents = "deny"
non_contiguous_range_endpoints = "warn"
non_local_definitions = "warn"
@@ -491,6 +494,7 @@ overlapping_range_endpoints = "warn"
private_bounds = "warn"
private_interfaces = "warn"
ptr_to_integer_transmute_in_consts = "warn"
raw_borrows_via_references = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
renamed_and_removed_lints = "warn"
@@ -520,7 +524,6 @@ unnameable_test_items = "warn"
unnameable_types = "warn"
unnecessary_transmutes = "warn"
unpredictable_function_pointer_comparisons = "warn"
unreachable_cfg_select_predicates = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unstable_features = "forbid"
@@ -541,7 +544,9 @@ while_true = "warn"
# unstable lints
# default_overrides_default_fields = "deny"
# deprecated_llvm_intrinsic = "warn"
# duplicate_tools = "deny"
# implicit_provenance_casts = "deny"
# malformed_diagnostic_filters = "warn"
# multiple_supertrait_upcastable = "warn"
# must_not_suspend = "warn"
# non_exhaustive_omitted_patterns = "warn"
@@ -553,6 +558,7 @@ while_true = "warn"
[workspace.lints.rustdoc]
bare_urls = "warn"
broken_footnote = "warn"
broken_intra_doc_links = "warn"
invalid_codeblock_attributes = "warn"
invalid_html_tags = "warn"
@@ -562,6 +568,7 @@ private_doc_tests = "warn"
private_intra_doc_links = "warn"
redundant_explicit_links = "warn"
unescaped_backticks = "warn"
unused_footnote_definition = "warn"
# unstable lints
# missing_doc_code_examples = "warn"