@@ -144,21 +144,17 @@ unused_lifetimes = "warn"
144
144
semicolon_in_expressions_from_macros = " warn"
145
145
146
146
[workspace .lints .clippy ]
147
- # TODO: Remove the tidy test once the lint table is stable
147
+ # FIXME Remove the tidy test once the lint table is stable
148
148
149
- # lint groups
149
+ # # lint groups
150
150
complexity = { level = " warn" , priority = -1 }
151
151
correctness = { level = " deny" , priority = -1 }
152
152
perf = { level = " deny" , priority = -1 }
153
153
restriction = { level = " allow" , priority = -1 }
154
154
style = { level = " warn" , priority = -1 }
155
155
suspicious = { level = " warn" , priority = -1 }
156
156
157
- # allow following lints
158
- collapsible_if = " allow"
159
- needless_pass_by_value = " allow"
160
- nonminimal_bool = " allow"
161
- redundant_pattern_matching = " allow"
157
+ # # allow following lints
162
158
# () makes a fine error in most cases
163
159
result_unit_err = " allow"
164
160
# We don't expose public APIs that matter like this
@@ -171,16 +167,68 @@ enum_variant_names = "allow"
171
167
new_ret_no_self = " allow"
172
168
non_canonical_clone_impl = " allow"
173
169
non_canonical_partial_ord_impl = " allow"
174
- format_collect = " allow"
170
+ derived_hash_with_manual_eq = " allow"
175
171
176
- # Following lints should be tackled at some point
172
+ # # Following lints should be tackled at some point
173
+ bind_instead_of_map = " allow"
174
+ borrowed_box = " allow"
175
+ borrow_deref_ref = " allow"
176
+ collapsible_if = " allow"
177
+ collapsible_match = " allow"
178
+ clone_on_copy = " allow"
179
+ derivable_impls = " allow"
180
+ double_parens = " allow"
181
+ explicit_auto_deref = " allow"
182
+ field_reassign_with_default = " allow"
183
+ forget_non_drop = " allow"
184
+ format_collect = " allow"
185
+ for_kv_map = " allow"
186
+ filter_map_bool_then = " allow"
187
+ from_str_radix_10 = " allow"
188
+ get_first = " allow"
189
+ if_same_then_else = " allow"
190
+ large_enum_variant = " allow"
191
+ let_and_return = " allow"
192
+ manual_find = " allow"
193
+ manual_map = " allow"
194
+ map_clone = " allow"
195
+ match_like_matches_macro = " allow"
196
+ match_single_binding = " allow"
197
+ needless_borrow = " allow"
198
+ needless_doctest_main = " allow"
199
+ needless_lifetimes = " allow"
200
+ needless_pass_by_value = " allow"
201
+ needless_return = " allow"
202
+ new_without_default = " allow"
203
+ nonminimal_bool = " allow"
204
+ non_minimal_cfg = " allow"
205
+ only_used_in_recursion = " allow"
206
+ op_ref = " allow"
207
+ option_map_unit_fn = " allow"
208
+ partialeq_to_none = " allow"
209
+ ptr_arg = " allow"
210
+ redundant_closure = " allow"
211
+ redundant_pattern_matching = " allow"
212
+ search_is_some = " allow"
213
+ self_named_constructors = " allow"
214
+ single_match = " allow"
215
+ skip_while_next = " allow"
177
216
too_many_arguments = " allow"
217
+ toplevel_ref_arg = " allow"
178
218
type_complexity = " allow"
179
-
180
- # warn at following lints
219
+ unnecessary_cast = " allow"
220
+ unnecessary_filter_map = " allow"
221
+ unnecessary_lazy_evaluations = " allow"
222
+ unnecessary_mut_passed = " allow"
223
+ useless_conversion = " allow"
224
+ useless_format = " allow"
225
+ wildcard_in_or_patterns = " allow"
226
+ wrong_self_convention = " allow"
227
+
228
+ # # warn at following lints
181
229
dbg_macro = " warn"
182
230
todo = " warn"
183
- unimplemented = " warn "
231
+ unimplemented = " allow "
184
232
rc_buffer = " warn"
185
233
# FIXME enable this, we use this pattern a lot so its annoying work ...
186
234
# str_to_string = "warn"
0 commit comments