]> git.proxmox.com Git - rustc.git/tree - src/tools/clippy/clippy_lints/src/
New upstream version 1.72.1+dfsg1
[rustc.git] / src / tools / clippy / clippy_lints / src /
drwxr-xr-x   ..
-rw-r--r-- 2656 allow_attributes.rs
-rw-r--r-- 3848 almost_complete_range.rs
-rw-r--r-- 4731 approx_const.rs
-rw-r--r-- 3380 arc_with_non_send_sync.rs
-rw-r--r-- 2387 as_conversions.rs
-rw-r--r-- 3958 asm_syntax.rs
-rw-r--r-- 2613 assertions_on_constants.rs
-rw-r--r-- 4288 assertions_on_result_states.rs
-rw-r--r-- 3361 async_yields_async.rs
-rw-r--r-- 33098 attrs.rs
-rw-r--r-- 9888 await_holding_invalid.rs
-rw-r--r-- 6353 blocks_in_if_conditions.rs
-rw-r--r-- 5113 bool_assert_comparison.rs
-rw-r--r-- 4041 bool_to_int_with_if.rs
-rw-r--r-- 18666 booleans.rs
-rw-r--r-- 4516 borrow_deref_ref.rs
-rw-r--r-- 4637 box_default.rs
drwxr-xr-x - cargo
drwxr-xr-x - casts
-rw-r--r-- 11282 checked_conversions.rs
-rw-r--r-- 5381 cognitive_complexity.rs
-rw-r--r-- 6402 collapsible_if.rs
-rw-r--r-- 5620 collection_is_never_read.rs
-rw-r--r-- 4355 comparison_chain.rs
-rw-r--r-- 21862 copies.rs
-rw-r--r-- 1881 copy_iterator.rs
-rw-r--r-- 4032 crate_in_macro_def.rs
-rw-r--r-- 1880 create_dir.rs
-rw-r--r-- 4855 dbg_macro.rs
-rw-r--r-- 34855 declared_lints.rs
-rw-r--r-- 13349 default.rs
-rw-r--r-- 3018 default_constructed_unit_structs.rs
-rw-r--r-- 2809 default_instead_of_iter_empty.rs
-rw-r--r-- 9139 default_numeric_fallback.rs
-rw-r--r-- 3479 default_union_representation.rs
-rw-r--r-- 7677 deprecated_lints.rs
-rw-r--r-- 68671 dereference.rs
-rw-r--r-- 9039 derivable_impls.rs
-rw-r--r-- 18717 derive.rs
-rw-r--r-- 4604 disallowed_macros.rs
-rw-r--r-- 3776 disallowed_methods.rs
-rw-r--r-- 2208 disallowed_names.rs
-rw-r--r-- 4465 disallowed_script_idents.rs
-rw-r--r-- 4423 disallowed_types.rs
-rw-r--r-- 34494 doc.rs
-rw-r--r-- 2108 double_parens.rs
-rw-r--r-- 5967 drop_forget_ref.rs
-rw-r--r-- 3931 duplicate_mod.rs
-rw-r--r-- 2050 else_if_without_else.rs
-rw-r--r-- 2304 empty_drop.rs
-rw-r--r-- 2270 empty_enum.rs
-rw-r--r-- 2925 empty_structs_with_brackets.rs
-rw-r--r-- 6849 endian_bytes.rs
-rw-r--r-- 25272 entry.rs
-rw-r--r-- 3240 enum_clike.rs
-rw-r--r-- 10189 enum_variants.rs
-rw-r--r-- 4460 equatable_if_let.rs
-rw-r--r-- 6217 escape.rs
-rw-r--r-- 10876 eta_reduction.rs
-rw-r--r-- 5516 excessive_bools.rs
-rw-r--r-- 4953 excessive_nesting.rs
-rw-r--r-- 3651 exhaustive_items.rs
-rw-r--r-- 2129 exit.rs
-rw-r--r-- 5606 explicit_write.rs
-rw-r--r-- 11416 extra_unused_type_parameters.rs
-rw-r--r-- 4623 fallible_impl_from.rs
-rw-r--r-- 6451 float_literal.rs
-rw-r--r-- 27028 floating_point_arithmetic.rs
-rw-r--r-- 3531 fn_null_check.rs
-rw-r--r-- 4780 format.rs
-rw-r--r-- 18040 format_args.rs
-rw-r--r-- 9801 format_impl.rs
-rw-r--r-- 3518 format_push_string.rs
-rw-r--r-- 12353 formatting.rs
-rw-r--r-- 7710 from_over_into.rs
-rw-r--r-- 3178 from_raw_with_void_ptr.rs
-rw-r--r-- 3693 from_str_radix_10.rs
drwxr-xr-x - functions
-rw-r--r-- 4901 future_not_send.rs
-rw-r--r-- 4660 if_let_mutex.rs
-rw-r--r-- 2928 if_not_else.rs
-rw-r--r-- 4265 if_then_some_else_none.rs
-rw-r--r-- 14373 implicit_hasher.rs
-rw-r--r-- 8563 implicit_return.rs
-rw-r--r-- 4838 implicit_saturating_add.rs
-rw-r--r-- 6532 implicit_saturating_sub.rs
-rw-r--r-- 4508 inconsistent_struct_constructor.rs
-rw-r--r-- 4449 incorrect_impls.rs
-rw-r--r-- 9760 index_refutable_slice.rs
-rw-r--r-- 7222 indexing_slicing.rs
-rw-r--r-- 8762 infinite_iter.rs
-rw-r--r-- 4909 inherent_impl.rs
-rw-r--r-- 5163 inherent_to_string.rs
-rw-r--r-- 2881 init_numbered_fields.rs
-rw-r--r-- 1923 inline_fn_without_body.rs
-rw-r--r-- 5471 instant_subtraction.rs
-rw-r--r-- 6067 int_plus_one.rs
-rw-r--r-- 6333 invalid_upcast_comparisons.rs
-rw-r--r-- 2697 items_after_statements.rs
-rw-r--r-- 3161 items_after_test_module.rs
-rw-r--r-- 3076 iter_not_returning_iterator.rs
-rw-r--r-- 2938 large_const_arrays.rs
-rw-r--r-- 7318 large_enum_variant.rs
-rw-r--r-- 3064 large_futures.rs
-rw-r--r-- 2749 large_include_file.rs
-rw-r--r-- 2347 large_stack_arrays.rs
-rw-r--r-- 5873 large_stack_frames.rs
-rw-r--r-- 21201 len_zero.rs
-rw-r--r-- 5951 let_if_seq.rs
-rw-r--r-- 8013 let_underscore.rs
-rw-r--r-- 1951 let_with_type_underscore.rs
-rw-r--r-- 2656 lib.deprecated.rs
-rw-r--r-- 51841 lib.rs
-rw-r--r-- 24035 lifetimes.rs
-rw-r--r-- 4976 lines_filter_map_ok.rs
-rw-r--r-- 18467 literal_representation.rs
drwxr-xr-x - loops
-rw-r--r-- 8633 macro_use.rs
-rw-r--r-- 1922 main_recursion.rs
-rw-r--r-- 3850 manual_assert.rs
-rw-r--r-- 7893 manual_async_fn.rs
-rw-r--r-- 5159 manual_bits.rs
-rw-r--r-- 24088 manual_clamp.rs
-rw-r--r-- 5729 manual_is_ascii_check.rs
-rw-r--r-- 19908 manual_let_else.rs
-rw-r--r-- 2653 manual_main_separator_str.rs
-rw-r--r-- 7625 manual_non_exhaustive.rs
-rw-r--r-- 4192 manual_range_patterns.rs
-rw-r--r-- 4557 manual_rem_euclid.rs
-rw-r--r-- 9398 manual_retain.rs
-rw-r--r-- 3717 manual_slice_size_calculation.rs
-rw-r--r-- 4696 manual_string_new.rs
-rw-r--r-- 9167 manual_strip.rs
-rw-r--r-- 10093 map_unit_fn.rs
-rw-r--r-- 3439 match_result_ok.rs
drwxr-xr-x - matches
-rw-r--r-- 8985 mem_replace.rs
drwxr-xr-x - methods
-rw-r--r-- 5206 min_ident_chars.rs
-rw-r--r-- 4359 minmax.rs
-rw-r--r-- 13065 misc.rs
drwxr-xr-x - misc_early
-rw-r--r-- 4998 mismatching_type_param_order.rs
-rw-r--r-- 3308 missing_assert_message.rs
-rw-r--r-- 5837 missing_const_for_fn.rs
-rw-r--r-- 7645 missing_doc.rs
-rw-r--r-- 3680 missing_enforced_import_rename.rs
-rw-r--r-- 9883 missing_fields_in_debug.rs
-rw-r--r-- 6778 missing_inline.rs
-rw-r--r-- 3288 missing_trait_methods.rs
-rw-r--r-- 12863 mixed_read_write_in_expression.rs
-rw-r--r-- 5824 module_style.rs
-rw-r--r-- 2033 multi_assignments.rs
-rw-r--r-- 6305 multiple_unsafe_ops_per_block.rs
-rw-r--r-- 6670 mut_key.rs
-rw-r--r-- 3704 mut_mut.rs
-rw-r--r-- 3595 mut_reference.rs
-rw-r--r-- 4015 mutable_debug_assertion.rs
-rw-r--r-- 3918 mutex_atomic.rs
-rw-r--r-- 4864 needless_arbitrary_self_type.rs
-rw-r--r-- 15769 needless_bool.rs
-rw-r--r-- 5277 needless_borrowed_ref.rs
-rw-r--r-- 14177 needless_continue.rs
-rw-r--r-- 1991 needless_else.rs
-rw-r--r-- 6131 needless_for_each.rs
-rw-r--r-- 2978 needless_if.rs
-rw-r--r-- 12109 needless_late_init.rs
-rw-r--r-- 2859 needless_parens_on_range_literals.rs
-rw-r--r-- 12914 needless_pass_by_value.rs
-rw-r--r-- 4667 needless_question_mark.rs
-rw-r--r-- 2162 needless_update.rs
-rw-r--r-- 3265 neg_cmp_op_on_partial_ord.rs
-rw-r--r-- 2772 neg_multiply.rs
-rw-r--r-- 7458 new_without_default.rs
-rw-r--r-- 12162 no_effect.rs
-rw-r--r-- 2727 no_mangle_with_rust_abi.rs
-rw-r--r-- 23148 non_copy_const.rs
-rw-r--r-- 14611 non_expressive_names.rs
-rw-r--r-- 3741 non_octal_unix_permissions.rs
-rw-r--r-- 10368 non_send_fields_in_send_ty.rs
-rw-r--r-- 8761 nonstandard_macro_braces.rs
-rw-r--r-- 5814 octal_escapes.rs
-rw-r--r-- 15172 only_used_in_recursion.rs
drwxr-xr-x - operators
-rw-r--r-- 1902 option_env_unwrap.rs
-rw-r--r-- 10646 option_if_let_else.rs
-rw-r--r-- 3443 overflow_check_conditional.rs
-rw-r--r-- 3505 panic_in_result_fn.rs
-rw-r--r-- 3212 panic_unimplemented.rs
-rw-r--r-- 2488 partial_pub_fields.rs
-rw-r--r-- 2021 partialeq_ne_impl.rs
-rw-r--r-- 3837 partialeq_to_none.rs
-rw-r--r-- 12488 pass_by_ref_or_value.rs
-rw-r--r-- 6954 pattern_type_mismatch.rs
-rw-r--r-- 2140 permissions_set_readonly_false.rs
-rw-r--r-- 5718 precedence.rs
-rw-r--r-- 30079 ptr.rs
-rw-r--r-- 4635 ptr_offset_with_cast.rs
-rw-r--r-- 1581 pub_use.rs
-rw-r--r-- 11698 question_mark.rs
-rw-r--r-- 1578 question_mark_used.rs
-rw-r--r-- 18559 ranges.rs
-rw-r--r-- 5024 raw_strings.rs
-rw-r--r-- 5299 rc_clone_in_vec_init.rs
-rw-r--r-- 5674 read_zero_byte_vec.rs
-rw-r--r-- 3875 redundant_async_block.rs
-rw-r--r-- 14561 redundant_clone.rs
-rw-r--r-- 8762 redundant_closure_call.rs
-rw-r--r-- 4280 redundant_else.rs
-rw-r--r-- 2533 redundant_field_names.rs
-rw-r--r-- 3350 redundant_pub_crate.rs
-rw-r--r-- 7366 redundant_slicing.rs
-rw-r--r-- 4467 redundant_static_lifetimes.rs
-rw-r--r-- 8020 redundant_type_annotations.rs
-rw-r--r-- 2528 ref_option_ref.rs
-rw-r--r-- 1358 ref_patterns.rs
-rw-r--r-- 4199 reference.rs
-rw-r--r-- 7908 regex.rs
-rw-r--r-- 3481 renamed_lints.rs
-rw-r--r-- 4989 return_self_not_must_use.rs
-rw-r--r-- 13850 returns.rs
-rw-r--r-- 7209 same_name_method.rs
-rw-r--r-- 2959 self_named_constructors.rs
-rw-r--r-- 5687 semicolon_block.rs
-rw-r--r-- 2375 semicolon_if_nothing_returned.rs
-rw-r--r-- 2180 serde_api.rs
-rw-r--r-- 8274 shadow.rs
-rw-r--r-- 17895 significant_drop_tightening.rs
-rw-r--r-- 4090 single_call_fn.rs
-rw-r--r-- 2122 single_char_lifetime_names.rs
-rw-r--r-- 8730 single_component_path_imports.rs
-rw-r--r-- 5576 single_range_in_vec_init.rs
-rw-r--r-- 5679 size_of_in_element_count.rs
-rw-r--r-- 2483 size_of_ref.rs
-rw-r--r-- 10956 slow_vector_initialization.rs
-rw-r--r-- 5915 std_instead_of_core.rs
-rw-r--r-- 19734 strings.rs
-rw-r--r-- 3630 strlen_on_c_strings.rs
-rw-r--r-- 3504 suspicious_doc_comments.rs
-rw-r--r-- 24089 suspicious_operation_groupings.rs
-rw-r--r-- 4097 suspicious_trait_impl.rs
-rw-r--r-- 2345 suspicious_xor_used_as_pow.rs
-rw-r--r-- 10253 swap.rs
-rw-r--r-- 3408 swap_ptr_to_ref.rs
-rw-r--r-- 6722 tabs_in_doc_comments.rs
-rw-r--r-- 1437 temporary_assignment.rs
-rw-r--r-- 2183 tests_outside_test_module.rs
-rw-r--r-- 4029 to_digit_is_some.rs
-rw-r--r-- 2779 trailing_empty_array.rs
-rw-r--r-- 17437 trait_bounds.rs
drwxr-xr-x - transmute
-rw-r--r-- 7296 tuple_array_conversions.rs
drwxr-xr-x - types
-rw-r--r-- 28329 undocumented_unsafe_blocks.rs
-rw-r--r-- 4918 unicode.rs
-rw-r--r-- 8985 uninit_vec.rs
-rw-r--r-- 7813 unit_return_expecting_ord.rs
drwxr-xr-x - unit_types
-rw-r--r-- 4644 unnamed_address.rs
-rw-r--r-- 4748 unnecessary_box_returns.rs
-rw-r--r-- 3472 unnecessary_owned_empty_strings.rs
-rw-r--r-- 2717 unnecessary_self_imports.rs
-rw-r--r-- 3316 unnecessary_struct_initialization.rs
-rw-r--r-- 6081 unnecessary_wraps.rs
-rw-r--r-- 16397 unnested_or_patterns.rs
-rw-r--r-- 2391 unsafe_removed_from_name.rs
-rw-r--r-- 4167 unused_async.rs
-rw-r--r-- 6310 unused_io_amount.rs
-rw-r--r-- 8537 unused_peekable.rs
-rw-r--r-- 2200 unused_rounding.rs
-rw-r--r-- 3229 unused_self.rs
-rw-r--r-- 4992 unused_unit.rs
-rw-r--r-- 12448 unwrap.rs
-rw-r--r-- 4392 unwrap_in_result.rs
-rw-r--r-- 4640 upper_case_acronyms.rs
-rw-r--r-- 12160 use_self.rs
-rw-r--r-- 14324 useless_conversion.rs
drwxr-xr-x - utils
-rw-r--r-- 8967 vec.rs
-rw-r--r-- 8570 vec_init_then_push.rs
-rw-r--r-- 4473 visibility.rs
-rw-r--r-- 7940 wildcard_imports.rs
-rw-r--r-- 18941 write.rs
-rw-r--r-- 2591 zero_div_zero.rs
-rw-r--r-- 3517 zero_sized_map_values.rs