]> git.lizzy.rs Git - rust.git/tree - src/tools/clippy/clippy_lints/src/
Rollup merge of #97021 - Volker-Weissmann:patch-1, r=Dylan-DPC
[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-- 6678 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-- 25295 attrs.rs
-rw-r--r-- 10205 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-- 2622 bytes_count_to_len.rs
drwxr-xr-x - cargo
-rw-r--r-- 3106 case_sensitive_file_extension_comparisons.rs
drwxr-xr-x - casts
-rw-r--r-- 11639 checked_conversions.rs
-rw-r--r-- 5257 cognitive_complexity.rs
-rw-r--r-- 6266 collapsible_if.rs
-rw-r--r-- 6985 collapsible_match.rs
-rw-r--r-- 4306 comparison_chain.rs
-rw-r--r-- 21629 copies.rs
-rw-r--r-- 1862 copy_iterator.rs
-rw-r--r-- 4030 crate_in_macro_def.rs
-rw-r--r-- 1865 create_dir.rs
-rw-r--r-- 2936 dbg_macro.rs
-rw-r--r-- 13283 default.rs
-rw-r--r-- 8749 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-- 4593 derivable_impls.rs
-rw-r--r-- 14268 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-- 31314 doc.rs
-rw-r--r-- 3474 double_comparison.rs
-rw-r--r-- 2155 double_parens.rs
-rw-r--r-- 9233 drop_forget_ref.rs
-rw-r--r-- 2839 duration_subsec.rs
-rw-r--r-- 2055 else_if_without_else.rs
-rw-r--r-- 2304 empty_drop.rs
-rw-r--r-- 2257 empty_enum.rs
-rw-r--r-- 2943 empty_structs_with_brackets.rs
-rw-r--r-- 25626 entry.rs
-rw-r--r-- 3296 enum_clike.rs
-rw-r--r-- 9735 enum_variants.rs
-rw-r--r-- 14548 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-- 9463 eta_reduction.rs
-rw-r--r-- 12470 eval_order_dependence.rs
-rw-r--r-- 5240 excessive_bools.rs
-rw-r--r-- 3707 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-- 4187 float_equality_without_abs.rs
-rw-r--r-- 6299 float_literal.rs
-rw-r--r-- 25740 floating_point_arithmetic.rs
-rw-r--r-- 5537 format.rs
-rw-r--r-- 7420 format_args.rs
-rw-r--r-- 8856 format_impl.rs
-rw-r--r-- 2614 format_push_string.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-- 4869 future_not_send.rs
-rw-r--r-- 3749 get_last_with_len.rs
-rw-r--r-- 5810 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-- 14392 implicit_hasher.rs
-rw-r--r-- 8171 implicit_return.rs
-rw-r--r-- 6675 implicit_saturating_sub.rs
-rw-r--r-- 4533 inconsistent_struct_constructor.rs
-rw-r--r-- 9937 index_refutable_slice.rs
-rw-r--r-- 6834 indexing_slicing.rs
-rw-r--r-- 8555 infinite_iter.rs
-rw-r--r-- 4839 inherent_impl.rs
-rw-r--r-- 5253 inherent_to_string.rs
-rw-r--r-- 2881 init_numbered_fields.rs
-rw-r--r-- 1925 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-- 6508 large_enum_variant.rs
-rw-r--r-- 2732 large_include_file.rs
-rw-r--r-- 2291 large_stack_arrays.rs
-rw-r--r-- 17714 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-- 16352 lib.register_all.rs
-rw-r--r-- 469 lib.register_cargo.rs
-rw-r--r-- 4801 lib.register_complexity.rs
-rw-r--r-- 3632 lib.register_correctness.rs
-rw-r--r-- 1179 lib.register_internal.rs
-rw-r--r-- 21545 lib.register_lints.rs
-rw-r--r-- 1867 lib.register_nursery.rs
-rw-r--r-- 5037 lib.register_pedantic.rs
-rw-r--r-- 1372 lib.register_perf.rs
-rw-r--r-- 3964 lib.register_restriction.rs
-rw-r--r-- 5931 lib.register_style.rs
-rw-r--r-- 1586 lib.register_suspicious.rs
-rw-r--r-- 42519 lib.rs
-rw-r--r-- 20205 lifetimes.rs
-rw-r--r-- 17938 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-- 4974 manual_bits.rs
-rw-r--r-- 12618 manual_map.rs
-rw-r--r-- 7759 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-- 6542 map_clone.rs
-rw-r--r-- 5573 map_err_ignore.rs
-rw-r--r-- 10162 map_unit_fn.rs
-rw-r--r-- 3197 match_on_vec_items.rs
-rw-r--r-- 3496 match_result_ok.rs
-rw-r--r-- 5669 match_str_case_mismatch.rs
drwxr-xr-x - matches
-rw-r--r-- 1608 mem_forget.rs
-rw-r--r-- 9900 mem_replace.rs
drwxr-xr-x - methods
-rw-r--r-- 4271 minmax.rs
-rw-r--r-- 27750 misc.rs
drwxr-xr-x - misc_early
-rw-r--r-- 5622 missing_const_for_fn.rs
-rw-r--r-- 6103 missing_doc.rs
-rw-r--r-- 3422 missing_enforced_import_rename.rs
-rw-r--r-- 6588 missing_inline.rs
-rw-r--r-- 5702 module_style.rs
-rw-r--r-- 5185 modulo_arithmetic.rs
-rw-r--r-- 7298 mut_key.rs
-rw-r--r-- 3586 mut_mut.rs
-rw-r--r-- 2365 mut_mutex_lock.rs
-rw-r--r-- 3304 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-- 3116 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-- 11988 needless_late_init.rs
-rw-r--r-- 14026 needless_pass_by_value.rs
-rw-r--r-- 4554 needless_question_mark.rs
-rw-r--r-- 2114 needless_update.rs
-rw-r--r-- 3271 neg_cmp_op_on_partial_ord.rs
-rw-r--r-- 2473 neg_multiply.rs
-rw-r--r-- 7572 new_without_default.rs
-rw-r--r-- 10196 no_effect.rs
-rw-r--r-- 20620 non_copy_const.rs
-rw-r--r-- 14514 non_expressive_names.rs
-rw-r--r-- 3752 non_octal_unix_permissions.rs
-rw-r--r-- 10352 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-- 24977 only_used_in_recursion.rs
-rw-r--r-- 6897 open_options.rs
-rw-r--r-- 1883 option_env_unwrap.rs
-rw-r--r-- 8075 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-- 3212 panic_unimplemented.rs
-rw-r--r-- 2031 partialeq_ne_impl.rs
-rw-r--r-- 10904 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-- 25332 ptr.rs
-rw-r--r-- 3418 ptr_eq.rs
-rw-r--r-- 4763 ptr_offset_with_cast.rs
-rw-r--r-- 1581 pub_use.rs
-rw-r--r-- 7076 question_mark.rs
-rw-r--r-- 19167 ranges.rs
-rw-r--r-- 28016 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-- 3212 redundant_pub_crate.rs
-rw-r--r-- 7358 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-- 8151 regex.rs
-rw-r--r-- 2321 renamed_lints.rs
-rw-r--r-- 3610 repeat_once.rs
-rw-r--r-- 4896 return_self_not_must_use.rs
-rw-r--r-- 10528 returns.rs
-rw-r--r-- 6963 same_name_method.rs
-rw-r--r-- 1653 self_assignment.rs
-rw-r--r-- 2952 self_named_constructors.rs
-rw-r--r-- 2477 semicolon_if_nothing_returned.rs
-rw-r--r-- 2180 serde_api.rs
-rw-r--r-- 8137 shadow.rs
-rw-r--r-- 15400 significant_drop_in_scrutinee.rs
-rw-r--r-- 2122 single_char_lifetime_names.rs
-rw-r--r-- 5960 single_component_path_imports.rs
-rw-r--r-- 5681 size_of_in_element_count.rs
-rw-r--r-- 10733 slow_vector_initialization.rs
-rw-r--r-- 5264 stable_sort_primitive.rs
-rw-r--r-- 18863 strings.rs
-rw-r--r-- 3602 strlen_on_c_strings.rs
-rw-r--r-- 24186 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-- 2987 trailing_empty_array.rs
-rw-r--r-- 10293 trait_bounds.rs
drwxr-xr-x - transmute
-rw-r--r-- 3444 transmuting_null.rs
-rw-r--r-- 6930 try_err.rs
drwxr-xr-x - types
-rw-r--r-- 7542 undocumented_unsafe_blocks.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-- 3459 unnecessary_owned_empty_strings.rs
-rw-r--r-- 2723 unnecessary_self_imports.rs
-rw-r--r-- 11041 unnecessary_sort_by.rs
-rw-r--r-- 6185 unnecessary_wraps.rs
-rw-r--r-- 15972 unnested_or_patterns.rs
-rw-r--r-- 2454 unsafe_removed_from_name.rs
-rw-r--r-- 2959 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-- 11916 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-- 7798 wildcard_imports.rs
-rw-r--r-- 25040 write.rs
-rw-r--r-- 2599 zero_div_zero.rs
-rw-r--r-- 3557 zero_sized_map_values.rs