@@ -27,32 +27,32 @@ lto = true
2727
2828[workspace .lints .rust ]
2929unsafe_code = " forbid"
30- missing_docs = " warn "
31- missing_debug_implementations = " warn "
32- unreachable_pub = " warn "
33- unused_qualifications = " warn "
34- deprecated = " warn "
30+ missing_docs = " deny "
31+ missing_debug_implementations = " deny "
32+ unreachable_pub = " deny "
33+ unused_qualifications = " deny "
34+ deprecated = " deny "
3535semicolon_in_expressions_from_macros = " deny"
36- rust_2024_compatibility = { level = " warn " , priority = -1 }
36+ rust_2024_compatibility = { level = " deny " , priority = -1 }
3737
3838[workspace .lints .clippy ]
3939# Pedantic group
40- pedantic = { level = " warn " , priority = -1 }
40+ pedantic = { level = " deny " , priority = -1 }
4141must_use_candidate = " allow"
4242missing_errors_doc = " allow"
4343missing_docs_in_private_items = " allow"
4444
4545# Restriction group
46- allow_attributes_without_reason = " warn "
47- as_conversions = " warn "
46+ allow_attributes_without_reason = " deny "
47+ as_conversions = " deny "
4848create_dir = " deny"
4949dbg_macro = " deny"
5050empty_drop = " deny"
5151empty_enum_variants_with_brackets = " deny"
5252empty_structs_with_brackets = " deny"
5353error_impl_error = " deny"
5454exit = " deny"
55- expect_used = " warn "
55+ expect_used = " deny "
5656field_scoped_visibility_modifiers = " deny"
5757filetype_is_file = " deny"
5858float_cmp_const = " deny"
@@ -63,9 +63,9 @@ if_then_some_else_none = "deny"
6363impl_trait_in_params = " deny"
6464indexing_slicing = " deny"
6565infinite_loop = " deny"
66- integer_division_remainder_used = " warn "
67- integer_division = " warn "
68- iter_over_hash_type = " warn "
66+ integer_division_remainder_used = " deny "
67+ integer_division = " deny "
68+ iter_over_hash_type = " deny "
6969lossy_float_literal = " deny"
7070map_err_ignore = " deny"
7171map_with_unused_argument_over_ranges = " deny"
@@ -76,43 +76,44 @@ module_name_repetitions = "deny"
7676multiple_inherent_impl = " deny"
7777multiple_unsafe_ops_per_block = " deny"
7878needless_raw_strings = " deny"
79- panic = " warn "
79+ panic = " deny "
8080panic_in_result_fn = " deny"
8181partial_pub_fields = " deny"
8282pathbuf_init_then_push = " deny"
8383print_stderr = " deny"
84- print_stdout = " warn "
84+ print_stdout = " deny "
8585pub_without_shorthand = " deny"
86- redundant_type_annotations = " warn "
87- ref_patterns = " allow " # TODO: discuss
86+ redundant_type_annotations = " deny "
87+ ref_patterns = " deny "
8888renamed_function_params = " deny"
8989rest_pat_in_fully_bound_structs = " deny"
9090same_name_method = " deny"
9191self_named_module_files = " deny"
92- semicolon_inside_block = " allow" # TODO: discuss
93- semicolon_outside_block = " allow" # TODO: discuss
94- separated_literal_suffix = " allow" # TODO: discuss
95- shadow_reuse = " warn"
92+ semicolon_inside_block = " deny"
93+ semicolon_outside_block = " allow"
94+ separated_literal_suffix = " allow"
95+ shadow_same = " allow"
96+ shadow_reuse = " allow"
9697shadow_unrelated = " deny"
9798str_to_string = " deny"
9899string_add = " allow" # TODO: discuss
99- string_lit_chars_any = " warn "
100- string_slice = " warn "
101- suspicious_xor_used_as_pow = " warn "
100+ string_lit_chars_any = " deny "
101+ string_slice = " deny "
102+ suspicious_xor_used_as_pow = " deny "
102103tests_outside_test_module = " deny"
103104todo = " deny"
104105try_err = " deny"
105106undocumented_unsafe_blocks = " deny"
106- unimplemented = " warn "
107+ unimplemented = " deny "
107108unnecessary_safety_comment = " deny"
108109unnecessary_safety_doc = " deny"
109110unnecessary_self_imports = " deny"
110- unneeded_field_pattern = " warn "
111+ unneeded_field_pattern = " deny "
111112unreachable = " deny"
112- unseparated_literal_suffix = " allow " # TODO: discuss
113+ unseparated_literal_suffix = " deny "
113114unused_result_ok = " deny"
114115unused_trait_names = " deny"
115- unwrap_in_result = " warn "
116- unwrap_used = " allow " # TODO: discuss
117- use_debug = " warn "
116+ unwrap_in_result = " deny "
117+ unwrap_used = " deny "
118+ use_debug = " deny "
118119verbose_file_reads = " deny"
0 commit comments