]> git.lizzy.rs Git - rust.git/tree - src/tools/clippy/clippy_lints/src/
Rollup merge of #94113 - Mizobrook-kan:issue-94025, r=estebank
[rust.git] / src / tools / clippy / clippy_lints / src /
drwxr-xr-x   ..
-rw-r--r-- 6980 absurd_extreme_comparisons.rs
-rw-r--r-- 4848 approx_const.rs
-rw-r--r-- 6673 arithmetic.rs
-rw-r--r-- 2349 as_conversions.rs
-rw-r--r-- 3692 asm_syntax.rs
-rw-r--r-- 2662 assertions_on_constants.rs
-rw-r--r-- 8646 assign_ops.rs
-rw-r--r-- 3299 async_yields_async.rs
-rw-r--r-- 23532 attrs.rs
-rw-r--r-- 5608 await_holding_invalid.rs
-rw-r--r-- 12161 bit_mask.rs
-rw-r--r-- 2215 blacklisted_name.rs
-rw-r--r-- 6390 blocks_in_if_conditions.rs
-rw-r--r-- 3632 bool_assert_comparison.rs
-rw-r--r-- 17912 booleans.rs
-rw-r--r-- 2961 borrow_as_ptr.rs
-rw-r--r-- 4050 bytecount.rs
-rw-r--r-- 4199 cargo_common_metadata.rs
-rw-r--r-- 3112 case_sensitive_file_extension_comparisons.rs
drwxr-xr-x - casts
-rw-r--r-- 11639 checked_conversions.rs
-rw-r--r-- 5263 cognitive_complexity.rs
-rw-r--r-- 5796 collapsible_if.rs
-rw-r--r-- 6983 collapsible_match.rs
-rw-r--r-- 4306 comparison_chain.rs
-rw-r--r-- 21648 copies.rs
-rw-r--r-- 1862 copy_iterator.rs
-rw-r--r-- 1865 create_dir.rs
-rw-r--r-- 2567 dbg_macro.rs
-rw-r--r-- 12800 default.rs
-rw-r--r-- 8747 default_numeric_fallback.rs
-rw-r--r-- 3485 default_union_representation.rs
-rw-r--r-- 7632 deprecated_lints.rs
-rw-r--r-- 27858 dereference.rs
-rw-r--r-- 4580 derivable_impls.rs
-rw-r--r-- 14280 derive.rs
-rw-r--r-- 3603 disallowed_methods.rs
-rw-r--r-- 4495 disallowed_script_idents.rs
-rw-r--r-- 4605 disallowed_types.rs
-rw-r--r-- 31110 doc.rs
-rw-r--r-- 3474 double_comparison.rs
-rw-r--r-- 2155 double_parens.rs
-rw-r--r-- 6702 drop_forget_ref.rs
-rw-r--r-- 2821 duration_subsec.rs
-rw-r--r-- 2055 else_if_without_else.rs
-rw-r--r-- 2255 empty_enum.rs
-rw-r--r-- 25626 entry.rs
-rw-r--r-- 3294 enum_clike.rs
-rw-r--r-- 9715 enum_variants.rs
-rw-r--r-- 14538 eq_op.rs
-rw-r--r-- 3798 equatable_if_let.rs
-rw-r--r-- 2280 erasing_op.rs
-rw-r--r-- 6696 escape.rs
-rw-r--r-- 9163 eta_reduction.rs
-rw-r--r-- 12470 eval_order_dependence.rs
-rw-r--r-- 5240 excessive_bools.rs
-rw-r--r-- 3567 exhaustive_items.rs
-rw-r--r-- 1681 exit.rs
-rw-r--r-- 4124 explicit_write.rs
-rw-r--r-- 4654 fallible_impl_from.rs
-rw-r--r-- 5081 feature_name.rs
-rw-r--r-- 4190 float_equality_without_abs.rs
-rw-r--r-- 6299 float_literal.rs
-rw-r--r-- 25740 floating_point_arithmetic.rs
-rw-r--r-- 5535 format.rs
-rw-r--r-- 8073 format_args.rs
-rw-r--r-- 12278 formatting.rs
-rw-r--r-- 2514 from_over_into.rs
-rw-r--r-- 3769 from_str_radix_10.rs
drwxr-xr-x - functions
-rw-r--r-- 4843 future_not_send.rs
-rw-r--r-- 3749 get_last_with_len.rs
-rw-r--r-- 3524 identity_op.rs
-rw-r--r-- 4343 if_let_mutex.rs
-rw-r--r-- 2928 if_not_else.rs
-rw-r--r-- 4047 if_then_some_else_none.rs
-rw-r--r-- 14418 implicit_hasher.rs
-rw-r--r-- 8171 implicit_return.rs
-rw-r--r-- 6997 implicit_saturating_sub.rs
-rw-r--r-- 4508 inconsistent_struct_constructor.rs
-rw-r--r-- 9938 index_refutable_slice.rs
-rw-r--r-- 6572 indexing_slicing.rs
-rw-r--r-- 8501 infinite_iter.rs
-rw-r--r-- 4843 inherent_impl.rs
-rw-r--r-- 5253 inherent_to_string.rs
-rw-r--r-- 2754 init_numbered_fields.rs
-rw-r--r-- 1932 inline_fn_without_body.rs
-rw-r--r-- 6175 int_plus_one.rs
-rw-r--r-- 1785 integer_division.rs
-rw-r--r-- 6389 invalid_upcast_comparisons.rs
-rw-r--r-- 2634 items_after_statements.rs
-rw-r--r-- 3075 iter_not_returning_iterator.rs
-rw-r--r-- 2937 large_const_arrays.rs
-rw-r--r-- 6637 large_enum_variant.rs
-rw-r--r-- 2291 large_stack_arrays.rs
-rw-r--r-- 17700 len_zero.rs
-rw-r--r-- 5998 let_if_seq.rs
-rw-r--r-- 6112 let_underscore.rs
-rw-r--r-- 2656 lib.deprecated.rs
-rw-r--r-- 15310 lib.register_all.rs
-rw-r--r-- 533 lib.register_cargo.rs
-rw-r--r-- 4586 lib.register_complexity.rs
-rw-r--r-- 3598 lib.register_correctness.rs
-rw-r--r-- 1116 lib.register_internal.rs
-rw-r--r-- 20376 lib.register_lints.rs
-rw-r--r-- 1683 lib.register_nursery.rs
-rw-r--r-- 5101 lib.register_pedantic.rs
-rw-r--r-- 1336 lib.register_perf.rs
-rw-r--r-- 3617 lib.register_restriction.rs
-rw-r--r-- 5707 lib.register_style.rs
-rw-r--r-- 1053 lib.register_suspicious.rs
-rw-r--r-- 44128 lib.rs
-rw-r--r-- 18155 lifetimes.rs
-rw-r--r-- 16773 literal_representation.rs
drwxr-xr-x - loops
-rw-r--r-- 8161 macro_use.rs
-rw-r--r-- 1921 main_recursion.rs
-rw-r--r-- 2830 manual_assert.rs
-rw-r--r-- 7466 manual_async_fn.rs
-rw-r--r-- 3710 manual_bits.rs
-rw-r--r-- 12618 manual_map.rs
-rw-r--r-- 6322 manual_non_exhaustive.rs
-rw-r--r-- 3665 manual_ok_or.rs
-rw-r--r-- 9280 manual_strip.rs
-rw-r--r-- 4764 manual_unwrap_or.rs
-rw-r--r-- 6611 map_clone.rs
-rw-r--r-- 5573 map_err_ignore.rs
-rw-r--r-- 9905 map_unit_fn.rs
-rw-r--r-- 3197 match_on_vec_items.rs
-rw-r--r-- 3495 match_result_ok.rs
-rw-r--r-- 5669 match_str_case_mismatch.rs
drwxr-xr-x - matches
-rw-r--r-- 1626 mem_forget.rs
-rw-r--r-- 9919 mem_replace.rs
drwxr-xr-x - methods
-rw-r--r-- 4397 minmax.rs
-rw-r--r-- 27750 misc.rs
drwxr-xr-x - misc_early
-rw-r--r-- 5156 missing_const_for_fn.rs
-rw-r--r-- 6114 missing_doc.rs
-rw-r--r-- 3422 missing_enforced_import_rename.rs
-rw-r--r-- 6593 missing_inline.rs
-rw-r--r-- 5997 module_style.rs
-rw-r--r-- 5185 modulo_arithmetic.rs
-rw-r--r-- 3555 multiple_crate_versions.rs
-rw-r--r-- 7292 mut_key.rs
-rw-r--r-- 3586 mut_mut.rs
-rw-r--r-- 2365 mut_mutex_lock.rs
-rw-r--r-- 3298 mut_reference.rs
-rw-r--r-- 4043 mutable_debug_assertion.rs
-rw-r--r-- 3603 mutex_atomic.rs
-rw-r--r-- 4858 needless_arbitrary_self_type.rs
-rw-r--r-- 3114 needless_bitwise_bool.rs
-rw-r--r-- 13637 needless_bool.rs
-rw-r--r-- 3448 needless_borrowed_ref.rs
-rw-r--r-- 14271 needless_continue.rs
-rw-r--r-- 6150 needless_for_each.rs
-rw-r--r-- 10820 needless_late_init.rs
-rw-r--r-- 2109 needless_option_as_deref.rs
-rw-r--r-- 13726 needless_pass_by_value.rs
-rw-r--r-- 4554 needless_question_mark.rs
-rw-r--r-- 2115 needless_update.rs
-rw-r--r-- 3271 neg_cmp_op_on_partial_ord.rs
-rw-r--r-- 2469 neg_multiply.rs
-rw-r--r-- 7339 new_without_default.rs
-rw-r--r-- 10196 no_effect.rs
-rw-r--r-- 20618 non_copy_const.rs
-rw-r--r-- 14510 non_expressive_names.rs
-rw-r--r-- 3752 non_octal_unix_permissions.rs
-rw-r--r-- 10348 non_send_fields_in_send_ty.rs
-rw-r--r-- 9211 nonstandard_macro_braces.rs
-rw-r--r-- 5282 octal_escapes.rs
-rw-r--r-- 6897 open_options.rs
-rw-r--r-- 1883 option_env_unwrap.rs
-rw-r--r-- 8071 option_if_let_else.rs
-rw-r--r-- 3443 overflow_check_conditional.rs
-rw-r--r-- 3222 panic_in_result_fn.rs
-rw-r--r-- 3106 panic_unimplemented.rs
-rw-r--r-- 2096 partialeq_ne_impl.rs
-rw-r--r-- 10907 pass_by_ref_or_value.rs
-rw-r--r-- 2745 path_buf_push_overwrite.rs
-rw-r--r-- 6979 pattern_type_mismatch.rs
-rw-r--r-- 5741 precedence.rs
-rw-r--r-- 25599 ptr.rs
-rw-r--r-- 3418 ptr_eq.rs
-rw-r--r-- 4763 ptr_offset_with_cast.rs
-rw-r--r-- 7106 question_mark.rs
-rw-r--r-- 19167 ranges.rs
-rw-r--r-- 27819 redundant_clone.rs
-rw-r--r-- 5778 redundant_closure_call.rs
-rw-r--r-- 4280 redundant_else.rs
-rw-r--r-- 2613 redundant_field_names.rs
-rw-r--r-- 2662 redundant_pub_crate.rs
-rw-r--r-- 3309 redundant_slicing.rs
-rw-r--r-- 4542 redundant_static_lifetimes.rs
-rw-r--r-- 2444 ref_option_ref.rs
-rw-r--r-- 4229 reference.rs
-rw-r--r-- 8152 regex.rs
-rw-r--r-- 3610 repeat_once.rs
-rw-r--r-- 4899 return_self_not_must_use.rs
-rw-r--r-- 10528 returns.rs
-rw-r--r-- 7192 same_name_method.rs
-rw-r--r-- 1653 self_assignment.rs
-rw-r--r-- 2950 self_named_constructors.rs
-rw-r--r-- 2477 semicolon_if_nothing_returned.rs
-rw-r--r-- 2179 serde_api.rs
-rw-r--r-- 8037 shadow.rs
-rw-r--r-- 2122 single_char_lifetime_names.rs
-rw-r--r-- 6167 single_component_path_imports.rs
-rw-r--r-- 5691 size_of_in_element_count.rs
-rw-r--r-- 10733 slow_vector_initialization.rs
-rw-r--r-- 4822 stable_sort_primitive.rs
-rw-r--r-- 16559 strings.rs
-rw-r--r-- 3602 strlen_on_c_strings.rs
-rw-r--r-- 24209 suspicious_operation_groupings.rs
-rw-r--r-- 4248 suspicious_trait_impl.rs
-rw-r--r-- 9228 swap.rs
-rw-r--r-- 6749 tabs_in_doc_comments.rs
-rw-r--r-- 1437 temporary_assignment.rs
-rw-r--r-- 4156 to_digit_is_some.rs
-rw-r--r-- 3823 to_string_in_display.rs
-rw-r--r-- 2986 trailing_empty_array.rs
-rw-r--r-- 10284 trait_bounds.rs
drwxr-xr-x - transmute
-rw-r--r-- 3444 transmuting_null.rs
-rw-r--r-- 6914 try_err.rs
drwxr-xr-x - types
-rw-r--r-- 8135 undocumented_unsafe_blocks.rs
-rw-r--r-- 2000 undropped_manually_drops.rs
-rw-r--r-- 4826 unicode.rs
-rw-r--r-- 8879 uninit_vec.rs
-rw-r--r-- 2694 unit_hash.rs
-rw-r--r-- 7672 unit_return_expecting_ord.rs
drwxr-xr-x - unit_types
-rw-r--r-- 4775 unnamed_address.rs
-rw-r--r-- 2723 unnecessary_self_imports.rs
-rw-r--r-- 11226 unnecessary_sort_by.rs
-rw-r--r-- 6181 unnecessary_wraps.rs
-rw-r--r-- 15708 unnested_or_patterns.rs
-rw-r--r-- 2454 unsafe_removed_from_name.rs
-rw-r--r-- 2962 unused_async.rs
-rw-r--r-- 6302 unused_io_amount.rs
-rw-r--r-- 2184 unused_self.rs
-rw-r--r-- 4794 unused_unit.rs
-rw-r--r-- 12440 unwrap.rs
-rw-r--r-- 4750 unwrap_in_result.rs
-rw-r--r-- 4521 upper_case_acronyms.rs
-rw-r--r-- 11173 use_self.rs
-rw-r--r-- 7959 useless_conversion.rs
drwxr-xr-x - utils
-rw-r--r-- 5796 vec.rs
-rw-r--r-- 4921 vec_init_then_push.rs
-rw-r--r-- 2273 vec_resize_to_zero.rs
-rw-r--r-- 3061 verbose_file_reads.rs
-rw-r--r-- 1984 wildcard_dependencies.rs
-rw-r--r-- 7687 wildcard_imports.rs
-rw-r--r-- 24857 write.rs
-rw-r--r-- 2599 zero_div_zero.rs
-rw-r--r-- 3557 zero_sized_map_values.rs