@@ -96,6 +96,7 @@ assets = [
96
96
]
97
97
98
98
[lints .rust ]
99
+ deprecated_safe = { level = " warn" , priority = -2 }
99
100
future_incompatible = { level = " warn" , priority = -2 }
100
101
keyword_idents = { level = " warn" , priority = -3 }
101
102
let_underscore = { level = " warn" , priority = -2 }
@@ -114,13 +115,18 @@ renamed_and_removed_lints = { level = "warn", priority = -1 }
114
115
unexpected_cfgs = { level = " warn" , check-cfg = [" cfg(tarpaulin_include)" ] }
115
116
116
117
# absolute_paths_not_starting_with_crate - group rust_2018_compatibility
117
- # box-pointers - used in project, and is safe to do so
118
- deprecated_in_future = " warn"
118
+ ambiguous_negative_literals = " warn"
119
+ closure_returning_async_block = " warn"
120
+ # deprecated_in_future - internal lint, not for user code
121
+ # deprecated_safe_2024 - group: deprecated_safe
122
+ edition-2024-expr-fragment-specifier = " allow" # migration not needed
119
123
# elided_lifetimes_in_paths - group: rust_2018_idioms
120
124
# explicit_outlives_requirements - group: rust_2018_idioms
121
125
ffi_unwind_calls = " warn"
122
126
# fuzzy_provenance_casts - unstable
123
- # impl_trait_overcaptures - unstable
127
+ if_let_rescope = " allow" # migration not needed
128
+ impl_trait_overcaptures = " warn"
129
+ impl_trait_redundant_captures = " warn"
124
130
# keyword_idents_2018 - group: rust_2018_compatibility
125
131
# keyword_idents_2024 - group: rust_2024_compatibility
126
132
# let_underscore_drop - group: let_underscore
@@ -131,22 +137,29 @@ missing_abi = "warn"
131
137
missing_copy_implementations = " warn"
132
138
missing_debug_implementations = " warn"
133
139
# missing_docs - not requiring docs in this project
140
+ # missing-unsafe-on-extern - group: rust_2024_compatibility
134
141
# multiple_supertrait_upcastable - unstable
135
142
# must_not_suspend - unstable
136
143
non_ascii_idents = " warn"
137
144
# non_exhaustive_omitted_patterns - unstable
145
+ redundant_imports = " warn"
138
146
redundant_lifetimes = " warn"
139
147
# rust_2021_incompatible_closure_captures - group: rust_2021_compatibility
140
148
# rust_2021_incompatible_or_patterns - group: rust_2021_compatibility
141
149
# rust_2021_prefixes_incompatible_syntax - group: rust_2021_compatibility
142
150
# rust_2021_prelude_collisions - group: rust_2021_compatibility
143
- # rust_2024_incompatible_pat - unstable
151
+ # rust_2024_guarded_string_incompatible_syntax - group: rust_2024_compatibility
152
+ # rust_2024_incompatible_pat - group: rust_2024_compatibility
153
+ # rust_2024_prelude_collisions - group: rust_2024_compatibility
144
154
single_use_lifetimes = " warn"
155
+ tail_expr_drop_order = " allow" # migration not needed
145
156
trivial_casts = " warn"
146
157
trivial_numeric_casts = " warn"
147
158
unit-bindings = " warn"
148
159
unnameable_types = " warn"
160
+ # unqualified_local_imports = "warn" - unstable
149
161
unreachable_pub = " warn"
162
+ # unsafe_attr_outside_unsafe - group: rust_2024_compatibility
150
163
unsafe_code = " warn"
151
164
# unsafe_op_in_unsafe_fn - group: rust_2024_compatibility
152
165
# unstable_features - deprecated
@@ -188,6 +201,7 @@ needless_raw_string_hashes = "allow"
188
201
needless_raw_strings = " allow"
189
202
new_without_default = " allow"
190
203
non_ascii_literal = " allow"
204
+ cfg_not_test = " allow"
191
205
option_if_let_else = " allow"
192
206
pattern_type_mismatch = " allow"
193
207
pub_use = " allow"
0 commit comments