You've already forked lint-policy
Update for rust 1.99
This commit is contained in:
+10
-3
@@ -37,6 +37,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"
|
||||
@@ -69,6 +70,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"
|
||||
@@ -160,6 +162,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"
|
||||
@@ -216,7 +219,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"
|
||||
@@ -258,6 +260,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"
|
||||
@@ -321,6 +324,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"
|
||||
@@ -450,7 +454,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"
|
||||
@@ -462,6 +465,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"
|
||||
@@ -491,7 +495,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"
|
||||
@@ -512,7 +515,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"
|
||||
@@ -524,6 +529,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"
|
||||
@@ -533,6 +539,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"
|
||||
|
||||
Reference in New Issue
Block a user