]> git.proxmox.com Git - rustc.git/tree - src/tools/clippy/clippy_lints/src/
bump version to 1.79.0+dfsg1-1~bpo12+pve2
[rustc.git] / src / tools / clippy / clippy_lints / src /
drwxr-xr-x   ..
-rw-r--r-- 3924 absolute_paths.rs
-rw-r--r-- 2579 allow_attributes.rs
-rw-r--r-- 3603 almost_complete_range.rs
-rw-r--r-- 4949 approx_const.rs
-rw-r--r-- 3876 arc_with_non_send_sync.rs
-rw-r--r-- 2359 as_conversions.rs
-rw-r--r-- 4773 asm_syntax.rs
-rw-r--r-- 2964 assertions_on_constants.rs
-rw-r--r-- 4267 assertions_on_result_states.rs
-rw-r--r-- 14355 assigning_clones.rs
-rw-r--r-- 4053 async_yields_async.rs
drwxr-xr-x - attrs
-rw-r--r-- 10303 await_holding_invalid.rs
-rw-r--r-- 6188 blocks_in_conditions.rs
-rw-r--r-- 5180 bool_assert_comparison.rs
-rw-r--r-- 4079 bool_to_int_with_if.rs
-rw-r--r-- 21850 booleans.rs
-rw-r--r-- 4167 borrow_deref_ref.rs
-rw-r--r-- 4864 box_default.rs
drwxr-xr-x - cargo
drwxr-xr-x - casts
-rw-r--r-- 10868 checked_conversions.rs
-rw-r--r-- 5337 cognitive_complexity.rs
-rw-r--r-- 6308 collapsible_if.rs
-rw-r--r-- 5559 collection_is_never_read.rs
-rw-r--r-- 4334 comparison_chain.rs
-rw-r--r-- 21867 copies.rs
-rw-r--r-- 1748 copy_iterator.rs
-rw-r--r-- 3879 crate_in_macro_def.rs
-rw-r--r-- 1727 create_dir.rs
-rw-r--r-- 5050 dbg_macro.rs
-rw-r--r-- 39023 declared_lints.rs
-rw-r--r-- 12853 default.rs
-rw-r--r-- 2921 default_constructed_unit_structs.rs
-rw-r--r-- 2914 default_instead_of_iter_empty.rs
-rw-r--r-- 9904 default_numeric_fallback.rs
-rw-r--r-- 3810 default_union_representation.rs
-rw-r--r-- 7677 deprecated_lints.rs
-rw-r--r-- 48202 dereference.rs
-rw-r--r-- 8393 derivable_impls.rs
-rw-r--r-- 17951 derive.rs
-rw-r--r-- 6068 disallowed_macros.rs
-rw-r--r-- 3759 disallowed_methods.rs
-rw-r--r-- 2248 disallowed_names.rs
-rw-r--r-- 4440 disallowed_script_idents.rs
-rw-r--r-- 4400 disallowed_types.rs
drwxr-xr-x - doc
-rw-r--r-- 2091 double_parens.rs
-rw-r--r-- 5863 drop_forget_ref.rs
-rw-r--r-- 3909 duplicate_mod.rs
-rw-r--r-- 1961 else_if_without_else.rs
-rw-r--r-- 2179 empty_drop.rs
-rw-r--r-- 2259 empty_enum.rs
-rw-r--r-- 4451 empty_with_brackets.rs
-rw-r--r-- 6752 endian_bytes.rs
-rw-r--r-- 27386 entry.rs
-rw-r--r-- 3218 enum_clike.rs
-rw-r--r-- 4576 equatable_if_let.rs
-rw-r--r-- 3471 error_impl_error.rs
-rw-r--r-- 6230 escape.rs
-rw-r--r-- 13272 eta_reduction.rs
-rw-r--r-- 5429 excessive_bools.rs
-rw-r--r-- 4963 excessive_nesting.rs
-rw-r--r-- 3290 exhaustive_items.rs
-rw-r--r-- 2035 exit.rs
-rw-r--r-- 5113 explicit_write.rs
-rw-r--r-- 11837 extra_unused_type_parameters.rs
-rw-r--r-- 4453 fallible_impl_from.rs
-rw-r--r-- 6630 float_literal.rs
-rw-r--r-- 26358 floating_point_arithmetic.rs
-rw-r--r-- 4852 format.rs
-rw-r--r-- 18863 format_args.rs
-rw-r--r-- 9983 format_impl.rs
-rw-r--r-- 3482 format_push_string.rs
-rw-r--r-- 11745 formatting.rs
-rw-r--r-- 3633 four_forward_slashes.rs
-rw-r--r-- 7971 from_over_into.rs
-rw-r--r-- 3211 from_raw_with_void_ptr.rs
-rw-r--r-- 3362 from_str_radix_10.rs
drwxr-xr-x - functions
-rw-r--r-- 4891 future_not_send.rs
-rw-r--r-- 4543 if_let_mutex.rs
-rw-r--r-- 3417 if_not_else.rs
-rw-r--r-- 4226 if_then_some_else_none.rs
-rw-r--r-- 2311 ignored_unit_patterns.rs
-rw-r--r-- 4882 impl_hash_with_borrow_str_and_bytes.rs
-rw-r--r-- 14010 implicit_hasher.rs
-rw-r--r-- 8574 implicit_return.rs
-rw-r--r-- 4964 implicit_saturating_add.rs
-rw-r--r-- 6033 implicit_saturating_sub.rs
-rw-r--r-- 15118 implied_bounds_in_impls.rs
-rw-r--r-- 4756 incompatible_msrv.rs
-rw-r--r-- 4288 inconsistent_struct_constructor.rs
-rw-r--r-- 9672 index_refutable_slice.rs
-rw-r--r-- 8237 indexing_slicing.rs
-rw-r--r-- 3097 ineffective_open_options.rs
-rw-r--r-- 8743 infinite_iter.rs
-rw-r--r-- 4968 inherent_impl.rs
-rw-r--r-- 5260 inherent_to_string.rs
-rw-r--r-- 2849 init_numbered_fields.rs
-rw-r--r-- 1897 inline_fn_without_body.rs
-rw-r--r-- 5002 instant_subtraction.rs
-rw-r--r-- 6050 int_plus_one.rs
-rw-r--r-- 1858 integer_division_remainder_used.rs
-rw-r--r-- 6300 invalid_upcast_comparisons.rs
-rw-r--r-- 15803 item_name_repetitions.rs
-rw-r--r-- 2680 items_after_statements.rs
-rw-r--r-- 3875 items_after_test_module.rs
-rw-r--r-- 3084 iter_not_returning_iterator.rs
-rw-r--r-- 2885 iter_over_hash_type.rs
-rw-r--r-- 12391 iter_without_into_iter.rs
-rw-r--r-- 3109 large_const_arrays.rs
-rw-r--r-- 7305 large_enum_variant.rs
-rw-r--r-- 2890 large_futures.rs
-rw-r--r-- 2603 large_include_file.rs
-rw-r--r-- 2457 large_stack_arrays.rs
-rw-r--r-- 8784 large_stack_frames.rs
-rw-r--r-- 10903 legacy_numeric_constants.rs
-rw-r--r-- 23059 len_zero.rs
-rw-r--r-- 5676 let_if_seq.rs
-rw-r--r-- 8146 let_underscore.rs
-rw-r--r-- 1825 let_with_type_underscore.rs
-rw-r--r-- 2656 lib.deprecated.rs
-rw-r--r-- 52621 lib.rs
-rw-r--r-- 23833 lifetimes.rs
-rw-r--r-- 5436 lines_filter_map_ok.rs
-rw-r--r-- 17884 literal_representation.rs
drwxr-xr-x - loops
-rw-r--r-- 8234 macro_use.rs
-rw-r--r-- 1795 main_recursion.rs
-rw-r--r-- 3842 manual_assert.rs
-rw-r--r-- 7243 manual_async_fn.rs
-rw-r--r-- 5069 manual_bits.rs
-rw-r--r-- 25341 manual_clamp.rs
-rw-r--r-- 6744 manual_float_methods.rs
-rw-r--r-- 5070 manual_hash_one.rs
-rw-r--r-- 6689 manual_is_ascii_check.rs
-rw-r--r-- 15412 manual_let_else.rs
-rw-r--r-- 2593 manual_main_separator_str.rs
-rw-r--r-- 7359 manual_non_exhaustive.rs
-rw-r--r-- 5467 manual_range_patterns.rs
-rw-r--r-- 4416 manual_rem_euclid.rs
-rw-r--r-- 11886 manual_retain.rs
-rw-r--r-- 3698 manual_slice_size_calculation.rs
-rw-r--r-- 4549 manual_string_new.rs
-rw-r--r-- 9034 manual_strip.rs
-rw-r--r-- 7106 manual_unwrap_or_default.rs
-rw-r--r-- 9974 map_unit_fn.rs
-rw-r--r-- 3261 match_result_ok.rs
drwxr-xr-x - matches
-rw-r--r-- 8979 mem_replace.rs
drwxr-xr-x - methods
-rw-r--r-- 6970 min_ident_chars.rs
-rw-r--r-- 4338 minmax.rs
-rw-r--r-- 10027 misc.rs
drwxr-xr-x - misc_early
-rw-r--r-- 4775 mismatching_type_param_order.rs
-rw-r--r-- 3657 missing_assert_message.rs
-rw-r--r-- 16196 missing_asserts_for_indexing.rs
-rw-r--r-- 5769 missing_const_for_fn.rs
-rw-r--r-- 9556 missing_doc.rs
-rw-r--r-- 3730 missing_enforced_import_rename.rs
-rw-r--r-- 9884 missing_fields_in_debug.rs
-rw-r--r-- 6712 missing_inline.rs
-rw-r--r-- 3270 missing_trait_methods.rs
-rw-r--r-- 13158 mixed_read_write_in_expression.rs
-rw-r--r-- 6227 module_style.rs
-rw-r--r-- 2016 multi_assignments.rs
-rw-r--r-- 3000 multiple_bound_locations.rs
-rw-r--r-- 6826 multiple_unsafe_ops_per_block.rs
-rw-r--r-- 6679 mut_key.rs
-rw-r--r-- 3586 mut_mut.rs
-rw-r--r-- 3540 mut_reference.rs
-rw-r--r-- 4035 mutable_debug_assertion.rs
-rw-r--r-- 4652 mutex_atomic.rs
-rw-r--r-- 4560 needless_arbitrary_self_type.rs
-rw-r--r-- 16315 needless_bool.rs
-rw-r--r-- 5271 needless_borrowed_ref.rs
-rw-r--r-- 16494 needless_borrows_for_generic_args.rs
-rw-r--r-- 14127 needless_continue.rs
-rw-r--r-- 1968 needless_else.rs
-rw-r--r-- 5901 needless_for_each.rs
-rw-r--r-- 3009 needless_if.rs
-rw-r--r-- 11964 needless_late_init.rs
-rw-r--r-- 2846 needless_parens_on_range_literals.rs
-rw-r--r-- 18572 needless_pass_by_ref_mut.rs
-rw-r--r-- 12616 needless_pass_by_value.rs
-rw-r--r-- 4358 needless_question_mark.rs
-rw-r--r-- 2143 needless_update.rs
-rw-r--r-- 3068 neg_cmp_op_on_partial_ord.rs
-rw-r--r-- 2576 neg_multiply.rs
-rw-r--r-- 7347 new_without_default.rs
-rw-r--r-- 14650 no_effect.rs
-rw-r--r-- 2735 no_mangle_with_rust_abi.rs
-rw-r--r-- 10507 non_canonical_impls.rs
-rw-r--r-- 25032 non_copy_const.rs
-rw-r--r-- 14633 non_expressive_names.rs
-rw-r--r-- 3530 non_octal_unix_permissions.rs
-rw-r--r-- 10084 non_send_fields_in_send_ty.rs
-rw-r--r-- 5108 nonstandard_macro_braces.rs
-rw-r--r-- 5796 octal_escapes.rs
-rw-r--r-- 15176 only_used_in_recursion.rs
drwxr-xr-x - operators
-rw-r--r-- 2324 option_env_unwrap.rs
-rw-r--r-- 11091 option_if_let_else.rs
-rw-r--r-- 3246 overflow_check_conditional.rs
-rw-r--r-- 3251 panic_in_result_fn.rs
-rw-r--r-- 3441 panic_unimplemented.rs
-rw-r--r-- 2471 partial_pub_fields.rs
-rw-r--r-- 1927 partialeq_ne_impl.rs
-rw-r--r-- 3845 partialeq_to_none.rs
-rw-r--r-- 12485 pass_by_ref_or_value.rs
-rw-r--r-- 6933 pattern_type_mismatch.rs
-rw-r--r-- 2190 permissions_set_readonly_false.rs
-rw-r--r-- 5554 precedence.rs
-rw-r--r-- 29056 ptr.rs
-rw-r--r-- 4618 ptr_offset_with_cast.rs
-rw-r--r-- 3046 pub_underscore_fields.rs
-rw-r--r-- 1536 pub_use.rs
-rw-r--r-- 14538 question_mark.rs
-rw-r--r-- 1560 question_mark_used.rs
-rw-r--r-- 17968 ranges.rs
-rw-r--r-- 7093 raw_strings.rs
-rw-r--r-- 5251 rc_clone_in_vec_init.rs
-rw-r--r-- 6900 read_zero_byte_vec.rs
-rw-r--r-- 4348 redundant_async_block.rs
-rw-r--r-- 14076 redundant_clone.rs
-rw-r--r-- 10746 redundant_closure_call.rs
-rw-r--r-- 4355 redundant_else.rs
-rw-r--r-- 2456 redundant_field_names.rs
-rw-r--r-- 5187 redundant_locals.rs
-rw-r--r-- 3230 redundant_pub_crate.rs
-rw-r--r-- 6864 redundant_slicing.rs
-rw-r--r-- 4463 redundant_static_lifetimes.rs
-rw-r--r-- 8631 redundant_type_annotations.rs
-rw-r--r-- 2389 ref_option_ref.rs
-rw-r--r-- 1325 ref_patterns.rs
-rw-r--r-- 4056 reference.rs
-rw-r--r-- 8509 regex.rs
-rw-r--r-- 3942 renamed_lints.rs
-rw-r--r-- 4873 repeat_vec_with_capacity.rs
-rw-r--r-- 5213 reserve_after_initialization.rs
-rw-r--r-- 4833 return_self_not_must_use.rs
-rw-r--r-- 17924 returns.rs
-rw-r--r-- 6972 same_name_method.rs
-rw-r--r-- 2817 self_named_constructors.rs
-rw-r--r-- 5780 semicolon_block.rs
-rw-r--r-- 2466 semicolon_if_nothing_returned.rs
-rw-r--r-- 2157 serde_api.rs
-rw-r--r-- 8295 shadow.rs
-rw-r--r-- 18576 significant_drop_tightening.rs
-rw-r--r-- 4913 single_call_fn.rs
-rw-r--r-- 2105 single_char_lifetime_names.rs
-rw-r--r-- 8756 single_component_path_imports.rs
-rw-r--r-- 5635 single_range_in_vec_init.rs
-rw-r--r-- 5202 size_of_in_element_count.rs
-rw-r--r-- 2500 size_of_ref.rs
-rw-r--r-- 13027 slow_vector_initialization.rs
-rw-r--r-- 6085 std_instead_of_core.rs
-rw-r--r-- 18892 strings.rs
-rw-r--r-- 3368 strlen_on_c_strings.rs
-rw-r--r-- 23227 suspicious_operation_groupings.rs
-rw-r--r-- 4055 suspicious_trait_impl.rs
-rw-r--r-- 2190 suspicious_xor_used_as_pow.rs
-rw-r--r-- 15234 swap.rs
-rw-r--r-- 3550 swap_ptr_to_ref.rs
-rw-r--r-- 6693 tabs_in_doc_comments.rs
-rw-r--r-- 1421 temporary_assignment.rs
-rw-r--r-- 2131 tests_outside_test_module.rs
-rw-r--r-- 4839 thread_local_initializer_can_be_made_const.rs
-rw-r--r-- 3693 to_digit_is_some.rs
-rw-r--r-- 2285 to_string_trait_impl.rs
-rw-r--r-- 2710 trailing_empty_array.rs
-rw-r--r-- 17009 trait_bounds.rs
drwxr-xr-x - transmute
-rw-r--r-- 7886 tuple_array_conversions.rs
drwxr-xr-x - types
-rw-r--r-- 16544 unconditional_recursion.rs
-rw-r--r-- 26968 undocumented_unsafe_blocks.rs
-rw-r--r-- 4889 unicode.rs
-rw-r--r-- 2944 uninhabited_references.rs
-rw-r--r-- 8741 uninit_vec.rs
-rw-r--r-- 7559 unit_return_expecting_ord.rs
drwxr-xr-x - unit_types
-rw-r--r-- 1983 unnamed_address.rs
-rw-r--r-- 4870 unnecessary_box_returns.rs
-rw-r--r-- 3993 unnecessary_map_on_constructor.rs
-rw-r--r-- 3030 unnecessary_owned_empty_strings.rs
-rw-r--r-- 2666 unnecessary_self_imports.rs
-rw-r--r-- 3340 unnecessary_struct_initialization.rs
-rw-r--r-- 5859 unnecessary_wraps.rs
-rw-r--r-- 16392 unnested_or_patterns.rs
-rw-r--r-- 2357 unsafe_removed_from_name.rs
-rw-r--r-- 6946 unused_async.rs
-rw-r--r-- 11648 unused_io_amount.rs
-rw-r--r-- 8499 unused_peekable.rs
-rw-r--r-- 2169 unused_rounding.rs
-rw-r--r-- 3102 unused_self.rs
-rw-r--r-- 4797 unused_unit.rs
-rw-r--r-- 15601 unwrap.rs
-rw-r--r-- 4295 unwrap_in_result.rs
-rw-r--r-- 4835 upper_case_acronyms.rs
-rw-r--r-- 13563 use_self.rs
-rw-r--r-- 16869 useless_conversion.rs
drwxr-xr-x - utils
-rw-r--r-- 9052 vec.rs
-rw-r--r-- 8592 vec_init_then_push.rs
-rw-r--r-- 4509 visibility.rs
-rw-r--r-- 8250 wildcard_imports.rs
-rw-r--r-- 21959 write.rs
-rw-r--r-- 2379 zero_div_zero.rs
-rw-r--r-- 5225 zero_repeat_side_effects.rs
-rw-r--r-- 3531 zero_sized_map_values.rs