]> git.lizzy.rs Git - rust.git/tree - clippy_lints/src/
Auto merge of #7794 - ThibsG:FieldReassignDefault6312, r=llogiq
[rust.git] / clippy_lints / src /
drwxr-xr-x   ..
-rw-r--r-- 6942 absurd_extreme_comparisons.rs
-rw-r--r-- 4824 approx_const.rs
-rw-r--r-- 6597 arithmetic.rs
-rw-r--r-- 2300 as_conversions.rs
-rw-r--r-- 3504 asm_syntax.rs
-rw-r--r-- 5513 assertions_on_constants.rs
-rw-r--r-- 8753 assign_ops.rs
-rw-r--r-- 3265 async_yields_async.rs
-rw-r--r-- 22995 attrs.rs
-rw-r--r-- 5540 await_holding_invalid.rs
-rw-r--r-- 12031 bit_mask.rs
-rw-r--r-- 2177 blacklisted_name.rs
-rw-r--r-- 6535 blocks_in_if_conditions.rs
-rw-r--r-- 3984 bool_assert_comparison.rs
-rw-r--r-- 18186 booleans.rs
-rw-r--r-- 4028 bytecount.rs
-rw-r--r-- 4165 cargo_common_metadata.rs
-rw-r--r-- 3074 case_sensitive_file_extension_comparisons.rs
drwxr-xr-x - casts
-rw-r--r-- 11605 checked_conversions.rs
-rw-r--r-- 5412 cognitive_complexity.rs
-rw-r--r-- 5724 collapsible_if.rs
-rw-r--r-- 7374 collapsible_match.rs
-rw-r--r-- 4272 comparison_chain.rs
-rw-r--r-- 21046 copies.rs
-rw-r--r-- 1828 copy_iterator.rs
-rw-r--r-- 1831 create_dir.rs
-rw-r--r-- 2085 dbg_macro.rs
-rw-r--r-- 12728 default.rs
-rw-r--r-- 8864 default_numeric_fallback.rs
-rw-r--r-- 6942 deprecated_lints.rs
-rw-r--r-- 10915 dereference.rs
-rw-r--r-- 4553 derivable_impls.rs
-rw-r--r-- 14404 derive.rs
-rw-r--r-- 3646 disallowed_method.rs
-rw-r--r-- 4446 disallowed_script_idents.rs
-rw-r--r-- 3603 disallowed_type.rs
-rw-r--r-- 29798 doc.rs
-rw-r--r-- 3436 double_comparison.rs
-rw-r--r-- 2117 double_parens.rs
-rw-r--r-- 6550 drop_forget_ref.rs
-rw-r--r-- 2796 duration_subsec.rs
-rw-r--r-- 2002 else_if_without_else.rs
-rw-r--r-- 2217 empty_enum.rs
-rw-r--r-- 25709 entry.rs
-rw-r--r-- 3256 enum_clike.rs
-rw-r--r-- 9714 enum_variants.rs
-rw-r--r-- 11575 eq_op.rs
-rw-r--r-- 3660 equatable_if_let.rs
-rw-r--r-- 1725 erasing_op.rs
-rw-r--r-- 6681 escape.rs
-rw-r--r-- 8655 eta_reduction.rs
-rw-r--r-- 12709 eval_order_dependence.rs
-rw-r--r-- 5234 excessive_bools.rs
-rw-r--r-- 3499 exhaustive_items.rs
-rw-r--r-- 1697 exit.rs
-rw-r--r-- 4452 explicit_write.rs
-rw-r--r-- 5087 fallible_impl_from.rs
-rw-r--r-- 5013 feature_name.rs
-rw-r--r-- 4156 float_equality_without_abs.rs
-rw-r--r-- 6229 float_literal.rs
-rw-r--r-- 24398 floating_point_arithmetic.rs
-rw-r--r-- 5787 format.rs
-rw-r--r-- 12256 formatting.rs
-rw-r--r-- 2485 from_over_into.rs
-rw-r--r-- 3729 from_str_radix_10.rs
drwxr-xr-x - functions
-rw-r--r-- 4801 future_not_send.rs
-rw-r--r-- 3721 get_last_with_len.rs
-rw-r--r-- 3290 identity_op.rs
-rw-r--r-- 4633 if_let_mutex.rs
-rw-r--r-- 2559 if_not_else.rs
-rw-r--r-- 3874 if_then_panic.rs
-rw-r--r-- 3836 if_then_some_else_none.rs
-rw-r--r-- 14626 implicit_hasher.rs
-rw-r--r-- 7988 implicit_return.rs
-rw-r--r-- 7189 implicit_saturating_sub.rs
-rw-r--r-- 4493 inconsistent_struct_constructor.rs
-rw-r--r-- 6496 indexing_slicing.rs
-rw-r--r-- 8517 infinite_iter.rs
-rw-r--r-- 4790 inherent_impl.rs
-rw-r--r-- 5235 inherent_to_string.rs
-rw-r--r-- 1894 inline_fn_without_body.rs
-rw-r--r-- 6135 int_plus_one.rs
-rw-r--r-- 1751 integer_division.rs
-rw-r--r-- 7995 invalid_upcast_comparisons.rs
-rw-r--r-- 2579 items_after_statements.rs
-rw-r--r-- 2194 iter_not_returning_iterator.rs
-rw-r--r-- 2900 large_const_arrays.rs
-rw-r--r-- 6599 large_enum_variant.rs
-rw-r--r-- 2254 large_stack_arrays.rs
-rw-r--r-- 17533 len_zero.rs
-rw-r--r-- 5960 let_if_seq.rs
-rw-r--r-- 5873 let_underscore.rs
-rw-r--r-- 2656 lib.deprecated.rs
-rw-r--r-- 14717 lib.register_all.rs
-rw-r--r-- 533 lib.register_cargo.rs
-rw-r--r-- 4496 lib.register_complexity.rs
-rw-r--r-- 3515 lib.register_correctness.rs
-rw-r--r-- 970 lib.register_internal.rs
-rw-r--r-- 19388 lib.register_lints.rs
-rw-r--r-- 1568 lib.register_nursery.rs
-rw-r--r-- 5026 lib.register_pedantic.rs
-rw-r--r-- 1178 lib.register_perf.rs
-rw-r--r-- 3276 lib.register_restriction.rs
-rw-r--r-- 5491 lib.register_style.rs
-rw-r--r-- 1007 lib.register_suspicious.rs
-rw-r--r-- 41178 lib.rs
-rw-r--r-- 17206 lifetimes.rs
-rw-r--r-- 16552 literal_representation.rs
drwxr-xr-x - loops
-rw-r--r-- 8163 macro_use.rs
-rw-r--r-- 1887 main_recursion.rs
-rw-r--r-- 7414 manual_async_fn.rs
-rw-r--r-- 11748 manual_map.rs
-rw-r--r-- 6271 manual_non_exhaustive.rs
-rw-r--r-- 3626 manual_ok_or.rs
-rw-r--r-- 9464 manual_strip.rs
-rw-r--r-- 4722 manual_unwrap_or.rs
-rw-r--r-- 6310 map_clone.rs
-rw-r--r-- 5548 map_err_ignore.rs
-rw-r--r-- 9837 map_unit_fn.rs
-rw-r--r-- 3163 match_on_vec_items.rs
-rw-r--r-- 3453 match_result_ok.rs
-rw-r--r-- 86983 matches.rs
-rw-r--r-- 3243 mem_discriminant.rs
-rw-r--r-- 1588 mem_forget.rs
-rw-r--r-- 9833 mem_replace.rs
drwxr-xr-x - methods
-rw-r--r-- 4362 minmax.rs
-rw-r--r-- 26925 misc.rs
drwxr-xr-x - misc_early
-rw-r--r-- 5135 missing_const_for_fn.rs
-rw-r--r-- 6583 missing_doc.rs
-rw-r--r-- 3389 missing_enforced_import_rename.rs
-rw-r--r-- 6555 missing_inline.rs
-rw-r--r-- 5924 module_style.rs
-rw-r--r-- 5145 modulo_arithmetic.rs
-rw-r--r-- 3518 multiple_crate_versions.rs
-rw-r--r-- 7259 mut_key.rs
-rw-r--r-- 3650 mut_mut.rs
-rw-r--r-- 2340 mut_mutex_lock.rs
-rw-r--r-- 3264 mut_reference.rs
-rw-r--r-- 3886 mutable_debug_assertion.rs
-rw-r--r-- 3524 mutex_atomic.rs
-rw-r--r-- 4831 needless_arbitrary_self_type.rs
-rw-r--r-- 3101 needless_bitwise_bool.rs
-rw-r--r-- 13340 needless_bool.rs
-rw-r--r-- 11177 needless_borrow.rs
-rw-r--r-- 3410 needless_borrowed_ref.rs
-rw-r--r-- 14254 needless_continue.rs
-rw-r--r-- 6298 needless_for_each.rs
-rw-r--r-- 2168 needless_option_as_deref.rs
-rw-r--r-- 13694 needless_pass_by_value.rs
-rw-r--r-- 3665 needless_question_mark.rs
-rw-r--r-- 2077 needless_update.rs
-rw-r--r-- 3233 neg_cmp_op_on_partial_ord.rs
-rw-r--r-- 1849 neg_multiply.rs
-rw-r--r-- 7369 new_without_default.rs
-rw-r--r-- 8290 no_effect.rs
-rw-r--r-- 20609 non_copy_const.rs
-rw-r--r-- 14267 non_expressive_names.rs
-rw-r--r-- 3713 non_octal_unix_permissions.rs
-rw-r--r-- 9731 non_send_fields_in_send_ty.rs
-rw-r--r-- 9392 nonstandard_macro_braces.rs
-rw-r--r-- 6867 open_options.rs
-rw-r--r-- 1849 option_env_unwrap.rs
-rw-r--r-- 8622 option_if_let_else.rs
-rw-r--r-- 3405 overflow_check_conditional.rs
-rw-r--r-- 2943 panic_in_result_fn.rs
-rw-r--r-- 3223 panic_unimplemented.rs
-rw-r--r-- 2058 partialeq_ne_impl.rs
-rw-r--r-- 10833 pass_by_ref_or_value.rs
-rw-r--r-- 2716 path_buf_push_overwrite.rs
-rw-r--r-- 11104 pattern_type_mismatch.rs
-rw-r--r-- 5703 precedence.rs
-rw-r--r-- 17442 ptr.rs
-rw-r--r-- 3397 ptr_eq.rs
-rw-r--r-- 4732 ptr_offset_with_cast.rs
-rw-r--r-- 7278 question_mark.rs
-rw-r--r-- 19261 ranges.rs
-rw-r--r-- 28028 redundant_clone.rs
-rw-r--r-- 5765 redundant_closure_call.rs
-rw-r--r-- 4231 redundant_else.rs
-rw-r--r-- 2560 redundant_field_names.rs
-rw-r--r-- 2628 redundant_pub_crate.rs
-rw-r--r-- 3313 redundant_slicing.rs
-rw-r--r-- 4508 redundant_static_lifetimes.rs
-rw-r--r-- 2410 ref_option_ref.rs
-rw-r--r-- 5888 reference.rs
-rw-r--r-- 8077 regex.rs
-rw-r--r-- 3600 repeat_once.rs
-rw-r--r-- 10299 returns.rs
-rw-r--r-- 7151 same_name_method.rs
-rw-r--r-- 1619 self_assignment.rs
-rw-r--r-- 2932 self_named_constructors.rs
-rw-r--r-- 2408 semicolon_if_nothing_returned.rs
-rw-r--r-- 2143 serde_api.rs
-rw-r--r-- 7784 shadow.rs
-rw-r--r-- 6139 single_component_path_imports.rs
-rw-r--r-- 5655 size_of_in_element_count.rs
-rw-r--r-- 10892 slow_vector_initialization.rs
-rw-r--r-- 4792 stable_sort_primitive.rs
-rw-r--r-- 14918 strings.rs
-rw-r--r-- 3261 strlen_on_c_strings.rs
-rw-r--r-- 24219 suspicious_operation_groupings.rs
-rw-r--r-- 4346 suspicious_trait_impl.rs
-rw-r--r-- 9187 swap.rs
-rw-r--r-- 6716 tabs_in_doc_comments.rs
-rw-r--r-- 1399 temporary_assignment.rs
-rw-r--r-- 4128 to_digit_is_some.rs
-rw-r--r-- 3792 to_string_in_display.rs
-rw-r--r-- 7046 trait_bounds.rs
drwxr-xr-x - transmute
-rw-r--r-- 3410 transmuting_null.rs
-rw-r--r-- 7214 try_err.rs
drwxr-xr-x - types
-rw-r--r-- 8105 undocumented_unsafe_blocks.rs
-rw-r--r-- 1960 undropped_manually_drops.rs
-rw-r--r-- 4685 unicode.rs
-rw-r--r-- 7545 unit_return_expecting_ord.rs
drwxr-xr-x - unit_types
-rw-r--r-- 4707 unnamed_address.rs
-rw-r--r-- 2689 unnecessary_self_imports.rs
-rw-r--r-- 11043 unnecessary_sort_by.rs
-rw-r--r-- 6150 unnecessary_wraps.rs
-rw-r--r-- 15680 unnested_or_patterns.rs
-rw-r--r-- 2418 unsafe_removed_from_name.rs
-rw-r--r-- 2964 unused_async.rs
-rw-r--r-- 3819 unused_io_amount.rs
-rw-r--r-- 2150 unused_self.rs
-rw-r--r-- 4762 unused_unit.rs
-rw-r--r-- 12433 unwrap.rs
-rw-r--r-- 4898 unwrap_in_result.rs
-rw-r--r-- 4489 upper_case_acronyms.rs
-rw-r--r-- 11398 use_self.rs
-rw-r--r-- 7927 useless_conversion.rs
drwxr-xr-x - utils
-rw-r--r-- 5919 vec.rs
-rw-r--r-- 6409 vec_init_then_push.rs
-rw-r--r-- 2242 vec_resize_to_zero.rs
-rw-r--r-- 3033 verbose_file_reads.rs
-rw-r--r-- 1950 wildcard_dependencies.rs
-rw-r--r-- 7620 wildcard_imports.rs
-rw-r--r-- 23683 write.rs
-rw-r--r-- 2561 zero_div_zero.rs
-rw-r--r-- 3404 zero_sized_map_values.rs