]> git.lizzy.rs Git - rust.git/tree - src/tools/clippy/clippy_lints/src/
Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup
[rust.git] / src / tools / clippy / clippy_lints / src /
drwxr-xr-x   ..
-rw-r--r-- 6980 absurd_extreme_comparisons.rs
-rw-r--r-- 4862 approx_const.rs
-rw-r--r-- 6673 arithmetic.rs
-rw-r--r-- 2334 as_conversions.rs
-rw-r--r-- 3572 asm_syntax.rs
-rw-r--r-- 5547 assertions_on_constants.rs
-rw-r--r-- 8829 assign_ops.rs
-rw-r--r-- 3299 async_yields_async.rs
-rw-r--r-- 23561 attrs.rs
-rw-r--r-- 5608 await_holding_invalid.rs
-rw-r--r-- 12145 bit_mask.rs
-rw-r--r-- 2215 blacklisted_name.rs
-rw-r--r-- 6569 blocks_in_if_conditions.rs
-rw-r--r-- 4026 bool_assert_comparison.rs
-rw-r--r-- 18231 booleans.rs
-rw-r--r-- 4064 bytecount.rs
-rw-r--r-- 4199 cargo_common_metadata.rs
-rw-r--r-- 3108 case_sensitive_file_extension_comparisons.rs
drwxr-xr-x - casts
-rw-r--r-- 11639 checked_conversions.rs
-rw-r--r-- 5446 cognitive_complexity.rs
-rw-r--r-- 5796 collapsible_if.rs
-rw-r--r-- 7408 collapsible_match.rs
-rw-r--r-- 4306 comparison_chain.rs
-rw-r--r-- 21291 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-- 12804 default.rs
-rw-r--r-- 8898 default_numeric_fallback.rs
-rw-r--r-- 7632 deprecated_lints.rs
-rw-r--r-- 24432 dereference.rs
-rw-r--r-- 4584 derivable_impls.rs
-rw-r--r-- 14316 derive.rs
-rw-r--r-- 3687 disallowed_methods.rs
-rw-r--r-- 4480 disallowed_script_idents.rs
-rw-r--r-- 4467 disallowed_types.rs
-rw-r--r-- 31649 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-- 2834 duration_subsec.rs
-rw-r--r-- 2040 else_if_without_else.rs
-rw-r--r-- 2255 empty_enum.rs
-rw-r--r-- 25810 entry.rs
-rw-r--r-- 3294 enum_clike.rs
-rw-r--r-- 9604 enum_variants.rs
-rw-r--r-- 11821 eq_op.rs
-rw-r--r-- 3730 equatable_if_let.rs
-rw-r--r-- 1763 erasing_op.rs
-rw-r--r-- 6719 escape.rs
-rw-r--r-- 8849 eta_reduction.rs
-rw-r--r-- 12785 eval_order_dependence.rs
-rw-r--r-- 5240 excessive_bools.rs
-rw-r--r-- 3567 exhaustive_items.rs
-rw-r--r-- 1731 exit.rs
-rw-r--r-- 4490 explicit_write.rs
-rw-r--r-- 5125 fallible_impl_from.rs
-rw-r--r-- 5081 feature_name.rs
-rw-r--r-- 4190 float_equality_without_abs.rs
-rw-r--r-- 6301 float_literal.rs
-rw-r--r-- 24612 floating_point_arithmetic.rs
-rw-r--r-- 4557 format.rs
-rw-r--r-- 8120 format_args.rs
-rw-r--r-- 12404 formatting.rs
-rw-r--r-- 2519 from_over_into.rs
-rw-r--r-- 3763 from_str_radix_10.rs
drwxr-xr-x - functions
-rw-r--r-- 4824 future_not_send.rs
-rw-r--r-- 3755 get_last_with_len.rs
-rw-r--r-- 3291 identity_op.rs
-rw-r--r-- 4667 if_let_mutex.rs
-rw-r--r-- 2928 if_not_else.rs
-rw-r--r-- 4174 if_then_some_else_none.rs
-rw-r--r-- 14664 implicit_hasher.rs
-rw-r--r-- 8178 implicit_return.rs
-rw-r--r-- 7228 implicit_saturating_sub.rs
-rw-r--r-- 4506 inconsistent_struct_constructor.rs
-rw-r--r-- 9971 index_refutable_slice.rs
-rw-r--r-- 6572 indexing_slicing.rs
-rw-r--r-- 8593 infinite_iter.rs
-rw-r--r-- 4843 inherent_impl.rs
-rw-r--r-- 5255 inherent_to_string.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-- 2617 items_after_statements.rs
-rw-r--r-- 2228 iter_not_returning_iterator.rs
-rw-r--r-- 2934 large_const_arrays.rs
-rw-r--r-- 6637 large_enum_variant.rs
-rw-r--r-- 2288 large_stack_arrays.rs
-rw-r--r-- 17643 len_zero.rs
-rw-r--r-- 5998 let_if_seq.rs
-rw-r--r-- 6118 let_underscore.rs
-rw-r--r-- 2656 lib.deprecated.rs
-rw-r--r-- 15162 lib.register_all.rs
-rw-r--r-- 533 lib.register_cargo.rs
-rw-r--r-- 4627 lib.register_complexity.rs
-rw-r--r-- 3598 lib.register_correctness.rs
-rw-r--r-- 1116 lib.register_internal.rs
-rw-r--r-- 20085 lib.register_lints.rs
-rw-r--r-- 1622 lib.register_nursery.rs
-rw-r--r-- 4987 lib.register_pedantic.rs
-rw-r--r-- 1285 lib.register_perf.rs
-rw-r--r-- 3469 lib.register_restriction.rs
-rw-r--r-- 5497 lib.register_style.rs
-rw-r--r-- 1125 lib.register_suspicious.rs
-rw-r--r-- 43348 lib.rs
-rw-r--r-- 17501 lifetimes.rs
-rw-r--r-- 16756 literal_representation.rs
drwxr-xr-x - loops
-rw-r--r-- 8290 macro_use.rs
-rw-r--r-- 1921 main_recursion.rs
-rw-r--r-- 3914 manual_assert.rs
-rw-r--r-- 7448 manual_async_fn.rs
-rw-r--r-- 12752 manual_map.rs
-rw-r--r-- 6305 manual_non_exhaustive.rs
-rw-r--r-- 3660 manual_ok_or.rs
-rw-r--r-- 9498 manual_strip.rs
-rw-r--r-- 4756 manual_unwrap_or.rs
-rw-r--r-- 6348 map_clone.rs
-rw-r--r-- 5582 map_err_ignore.rs
-rw-r--r-- 9913 map_unit_fn.rs
-rw-r--r-- 3197 match_on_vec_items.rs
-rw-r--r-- 3487 match_result_ok.rs
-rw-r--r-- 5864 match_str_case_mismatch.rs
-rw-r--r-- 85880 matches.rs
-rw-r--r-- 1626 mem_forget.rs
-rw-r--r-- 9932 mem_replace.rs
drwxr-xr-x - methods
-rw-r--r-- 4400 minmax.rs
-rw-r--r-- 27207 misc.rs
drwxr-xr-x - misc_early
-rw-r--r-- 5169 missing_const_for_fn.rs
-rw-r--r-- 6114 missing_doc.rs
-rw-r--r-- 3423 missing_enforced_import_rename.rs
-rw-r--r-- 6593 missing_inline.rs
-rw-r--r-- 5993 module_style.rs
-rw-r--r-- 5179 modulo_arithmetic.rs
-rw-r--r-- 3556 multiple_crate_versions.rs
-rw-r--r-- 7293 mut_key.rs
-rw-r--r-- 3775 mut_mut.rs
-rw-r--r-- 2374 mut_mutex_lock.rs
-rw-r--r-- 3302 mut_reference.rs
-rw-r--r-- 4028 mutable_debug_assertion.rs
-rw-r--r-- 3600 mutex_atomic.rs
-rw-r--r-- 4858 needless_arbitrary_self_type.rs
-rw-r--r-- 3114 needless_bitwise_bool.rs
-rw-r--r-- 13416 needless_bool.rs
-rw-r--r-- 3448 needless_borrowed_ref.rs
-rw-r--r-- 14271 needless_continue.rs
-rw-r--r-- 6332 needless_for_each.rs
-rw-r--r-- 10604 needless_late_init.rs
-rw-r--r-- 2151 needless_option_as_deref.rs
-rw-r--r-- 13732 needless_pass_by_value.rs
-rw-r--r-- 3912 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-- 1887 neg_multiply.rs
-rw-r--r-- 7407 new_without_default.rs
-rw-r--r-- 10320 no_effect.rs
-rw-r--r-- 20684 non_copy_const.rs
-rw-r--r-- 14499 non_expressive_names.rs
-rw-r--r-- 3747 non_octal_unix_permissions.rs
-rw-r--r-- 10126 non_send_fields_in_send_ty.rs
-rw-r--r-- 9213 nonstandard_macro_braces.rs
-rw-r--r-- 5276 octal_escapes.rs
-rw-r--r-- 6905 open_options.rs
-rw-r--r-- 1883 option_env_unwrap.rs
-rw-r--r-- 8657 option_if_let_else.rs
-rw-r--r-- 3443 overflow_check_conditional.rs
-rw-r--r-- 2977 panic_in_result_fn.rs
-rw-r--r-- 3363 panic_unimplemented.rs
-rw-r--r-- 2096 partialeq_ne_impl.rs
-rw-r--r-- 10905 pass_by_ref_or_value.rs
-rw-r--r-- 2750 path_buf_push_overwrite.rs
-rw-r--r-- 6974 pattern_type_mismatch.rs
-rw-r--r-- 5741 precedence.rs
-rw-r--r-- 17532 ptr.rs
-rw-r--r-- 3410 ptr_eq.rs
-rw-r--r-- 4766 ptr_offset_with_cast.rs
-rw-r--r-- 8795 question_mark.rs
-rw-r--r-- 19445 ranges.rs
-rw-r--r-- 28016 redundant_clone.rs
-rw-r--r-- 5803 redundant_closure_call.rs
-rw-r--r-- 4265 redundant_else.rs
-rw-r--r-- 2598 redundant_field_names.rs
-rw-r--r-- 2662 redundant_pub_crate.rs
-rw-r--r-- 3342 redundant_slicing.rs
-rw-r--r-- 4542 redundant_static_lifetimes.rs
-rw-r--r-- 2444 ref_option_ref.rs
-rw-r--r-- 5943 reference.rs
-rw-r--r-- 8153 regex.rs
-rw-r--r-- 3613 repeat_once.rs
-rw-r--r-- 10314 returns.rs
-rw-r--r-- 7198 same_name_method.rs
-rw-r--r-- 1653 self_assignment.rs
-rw-r--r-- 2965 self_named_constructors.rs
-rw-r--r-- 2469 semicolon_if_nothing_returned.rs
-rw-r--r-- 2181 serde_api.rs
-rw-r--r-- 7980 shadow.rs
-rw-r--r-- 6152 single_component_path_imports.rs
-rw-r--r-- 5689 size_of_in_element_count.rs
-rw-r--r-- 10926 slow_vector_initialization.rs
-rw-r--r-- 4826 stable_sort_primitive.rs
-rw-r--r-- 16686 strings.rs
-rw-r--r-- 3599 strlen_on_c_strings.rs
-rw-r--r-- 24241 suspicious_operation_groupings.rs
-rw-r--r-- 4422 suspicious_trait_impl.rs
-rw-r--r-- 9265 swap.rs
-rw-r--r-- 6750 tabs_in_doc_comments.rs
-rw-r--r-- 1437 temporary_assignment.rs
-rw-r--r-- 4162 to_digit_is_some.rs
-rw-r--r-- 3826 to_string_in_display.rs
-rw-r--r-- 2968 trailing_empty_array.rs
-rw-r--r-- 7130 trait_bounds.rs
drwxr-xr-x - transmute
-rw-r--r-- 3444 transmuting_null.rs
-rw-r--r-- 6913 try_err.rs
drwxr-xr-x - types
-rw-r--r-- 8323 undocumented_unsafe_blocks.rs
-rw-r--r-- 1994 undropped_manually_drops.rs
-rw-r--r-- 4826 unicode.rs
-rw-r--r-- 8873 uninit_vec.rs
-rw-r--r-- 2691 unit_hash.rs
-rw-r--r-- 7579 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-- 11313 unnecessary_sort_by.rs
-rw-r--r-- 6181 unnecessary_wraps.rs
-rw-r--r-- 15714 unnested_or_patterns.rs
-rw-r--r-- 2456 unsafe_removed_from_name.rs
-rw-r--r-- 2998 unused_async.rs
-rw-r--r-- 3857 unused_io_amount.rs
-rw-r--r-- 2183 unused_self.rs
-rw-r--r-- 4796 unused_unit.rs
-rw-r--r-- 12519 unwrap.rs
-rw-r--r-- 4934 unwrap_in_result.rs
-rw-r--r-- 4523 upper_case_acronyms.rs
-rw-r--r-- 11483 use_self.rs
-rw-r--r-- 7961 useless_conversion.rs
drwxr-xr-x - utils
-rw-r--r-- 5796 vec.rs
-rw-r--r-- 4916 vec_init_then_push.rs
-rw-r--r-- 2276 vec_resize_to_zero.rs
-rw-r--r-- 3067 verbose_file_reads.rs
-rw-r--r-- 1984 wildcard_dependencies.rs
-rw-r--r-- 7687 wildcard_imports.rs
-rw-r--r-- 24843 write.rs
-rw-r--r-- 2599 zero_div_zero.rs
-rw-r--r-- 3438 zero_sized_map_values.rs