@@ -270,70 +270,61 @@ wildcard_dependencies = "warn"
270270
271271# Pedantic lints we opt out of, with the number of hits at the time we enabled `pedantic`.
272272# Some of these we should consider enabling.
273- borrow_as_ptr = " allow" # 6 hits
274- case_sensitive_file_extension_comparisons = " allow" # 1 hit
275- cast_lossless = " allow" # 361 hits
276- cast_possible_truncation = " allow" # 911 hits
277- cast_possible_wrap = " allow" # 493 hits
278- cast_precision_loss = " allow" # 266 hits
279- cast_ptr_alignment = " allow" # 5 hits
280- cast_sign_loss = " allow" # 440 hits
281- cloned_instead_of_copied = " allow" # 38 hits
282- default_trait_access = " allow" # 221 hits
283- doc_comment_double_space_linebreaks = " allow" # 6 hits
284- doc_link_with_quotes = " allow" # 25 hits
285- doc_markdown = " allow" # 4933 hits; needs a long `doc-valid-idents` list in `clippy.toml`
286- enum_glob_use = " allow" # 98 hits
287- explicit_into_iter_loop = " allow" # 55 hits
288- explicit_iter_loop = " allow" # 189 hits
289- float_cmp = " allow" # 8 hits; exact float comparisons are often intentional here
290- format_collect = " allow" # 4 hits
291- format_push_string = " allow" # 34 hits
292- from_iter_instead_of_collect = " allow" # 51 hits
293- if_not_else = " allow" # 133 hits
294- ignored_unit_patterns = " allow" # 52 hits
295- implicit_clone = " allow" # 198 hits
296- implicit_hasher = " allow" # 17 hits
297- inline_always = " allow" # 45 hits
298- items_after_statements = " allow" # 171 hits
299- large_digit_groups = " allow" # 3 hits
300- manual_string_new = " allow" # 84 hits
301- many_single_char_names = " allow" # 12 hits; short names are idiomatic in the numeric kernels
302- map_unwrap_or = " allow" # 198 hits
303- match_bool = " allow" # 46 hits
304- match_same_arms = " allow" # 261 hits
305- match_wildcard_for_single_variants = " allow" # 132 hits
306- missing_errors_doc = " allow" # 1807 hits
307- missing_fields_in_debug = " allow" # 29 hits
308- missing_panics_doc = " allow" # 244 hits
309- must_use_candidate = " allow" # 2726 hits
310- needless_bitwise_bool = " allow" # 1 hit
311- needless_continue = " allow" # 37 hits
312- needless_raw_string_hashes = " allow" # 540 hits
313- no_effect_underscore_binding = " allow" # 1 hit
314- ptr_as_ptr = " allow" # 83 hits
315- redundant_closure_for_method_calls = " allow" # 686 hits
316- redundant_else = " allow" # 48 hits
317- ref_option = " allow" # 36 hits
318- return_self_not_must_use = " allow" # 644 hits
319- semicolon_if_nothing_returned = " allow" # 1353 hits
320- similar_names = " allow" # 228 hits; too many false positives, e.g. `expr`/`exprs`
321- single_char_pattern = " allow" # 23 hits
322- single_match_else = " allow" # 155 hits
323- struct_excessive_bools = " allow" # 24 hits
324- struct_field_names = " allow" # 14 hits
325- too_many_lines = " allow" # 484 hits
326- trivially_copy_pass_by_ref = " allow" # 74 hits
327- unicode_not_nfc = " allow" # 2 hits
328- unnecessary_literal_bound = " allow" # 471 hits
329- unnecessary_semicolon = " allow" # 185 hits
330- unnecessary_trailing_comma = " allow" # 49 hits
331- unnecessary_wraps = " allow" # 427 hits
332- unnested_or_patterns = " allow" # 68 hits
333- unreadable_literal = " allow" # 502 hits
334- unused_self = " allow" # 69 hits
335- used_underscore_items = " allow" # 28 hits
336- wildcard_imports = " allow" # 48 hits; `use crate::prelude::*` is idiomatic
273+ borrow_as_ptr = " allow" # 6 hits
274+ cast_lossless = " allow" # 361 hits
275+ cast_possible_truncation = " allow" # 911 hits
276+ cast_possible_wrap = " allow" # 493 hits
277+ cast_precision_loss = " allow" # 266 hits
278+ cast_sign_loss = " allow" # 440 hits
279+ default_trait_access = " allow" # 221 hits
280+ doc_comment_double_space_linebreaks = " allow" # 6 hits
281+ doc_markdown = " allow" # 4933 hits; needs a long `doc-valid-idents` list in `clippy.toml`
282+ enum_glob_use = " allow" # 98 hits
283+ explicit_into_iter_loop = " allow" # 55 hits
284+ explicit_iter_loop = " allow" # 189 hits
285+ float_cmp = " allow" # 8 hits; exact float comparisons are often intentional here
286+ format_collect = " allow" # 4 hits
287+ format_push_string = " allow" # 34 hits
288+ from_iter_instead_of_collect = " allow" # 51 hits
289+ if_not_else = " allow" # 133 hits
290+ ignored_unit_patterns = " allow" # 52 hits
291+ implicit_clone = " allow" # 198 hits
292+ implicit_hasher = " allow" # 17 hits
293+ inline_always = " allow" # 45 hits
294+ items_after_statements = " allow" # 171 hits
295+ large_digit_groups = " allow" # 3 hits
296+ manual_string_new = " allow" # 84 hits
297+ many_single_char_names = " allow" # 12 hits; short names are idiomatic in the numeric kernels
298+ map_unwrap_or = " allow" # 198 hits
299+ match_bool = " allow" # 46 hits
300+ match_same_arms = " allow" # 261 hits
301+ match_wildcard_for_single_variants = " allow" # 132 hits
302+ missing_errors_doc = " allow" # 1807 hits
303+ missing_fields_in_debug = " allow" # 29 hits
304+ missing_panics_doc = " allow" # 244 hits
305+ must_use_candidate = " allow" # 2726 hits
306+ needless_bitwise_bool = " allow" # 1 hit
307+ needless_raw_string_hashes = " allow" # 540 hits
308+ ptr_as_ptr = " allow" # 83 hits
309+ redundant_closure_for_method_calls = " allow" # 686 hits
310+ redundant_else = " allow" # 48 hits
311+ return_self_not_must_use = " allow" # 644 hits
312+ semicolon_if_nothing_returned = " allow" # 1353 hits
313+ similar_names = " allow" # 228 hits; too many false positives, e.g. `expr`/`exprs`
314+ single_char_pattern = " allow" # 23 hits
315+ single_match_else = " allow" # 155 hits
316+ struct_excessive_bools = " allow" # 24 hits
317+ struct_field_names = " allow" # 14 hits
318+ too_many_lines = " allow" # 484 hits
319+ trivially_copy_pass_by_ref = " allow" # 74 hits
320+ unicode_not_nfc = " allow" # 2 hits
321+ unnecessary_literal_bound = " allow" # 471 hits
322+ unnecessary_wraps = " allow" # 427 hits
323+ unnested_or_patterns = " allow" # 68 hits
324+ unreadable_literal = " allow" # 502 hits
325+ unused_self = " allow" # 69 hits
326+ used_underscore_items = " allow" # 28 hits
327+ wildcard_imports = " allow" # 48 hits; `use crate::prelude::*` is idiomatic
337328
338329[workspace .lints .rust ]
339330unexpected_cfgs = { level = " warn" , check-cfg = [
0 commit comments