]> git.lizzy.rs Git - rust.git/tree - src/tools/clippy/clippy_lints/src/
Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup
[rust.git] / src / tools / clippy / clippy_lints / src /
drwxr-xr-x   ..
-rw-r--r-- 6923 absurd_extreme_comparisons.rs
-rw-r--r-- 4097 approx_const.rs
-rw-r--r-- 6646 arithmetic.rs
-rw-r--r-- 2343 as_conversions.rs
-rw-r--r-- 3560 asm_syntax.rs
-rw-r--r-- 5438 assertions_on_constants.rs
-rw-r--r-- 10428 assign_ops.rs
-rw-r--r-- 3301 async_yields_async.rs
-rw-r--r-- 9350 atomic_ordering.rs
-rw-r--r-- 23023 attrs.rs
-rw-r--r-- 5514 await_holding_invalid.rs
-rw-r--r-- 12007 bit_mask.rs
-rw-r--r-- 1433 blacklisted_name.rs
-rw-r--r-- 6510 blocks_in_if_conditions.rs
-rw-r--r-- 2593 bool_assert_comparison.rs
-rw-r--r-- 18145 booleans.rs
-rw-r--r-- 4670 bytecount.rs
-rw-r--r-- 4348 cargo_common_metadata.rs
-rw-r--r-- 3131 case_sensitive_file_extension_comparisons.rs
drwxr-xr-x - casts
-rw-r--r-- 11712 checked_conversions.rs
-rw-r--r-- 5366 cognitive_complexity.rs
-rw-r--r-- 5779 collapsible_if.rs
-rw-r--r-- 6706 collapsible_match.rs
-rw-r--r-- 4164 comparison_chain.rs
-rw-r--r-- 33 consts.rs
-rw-r--r-- 20877 copies.rs
-rw-r--r-- 1856 copy_iterator.rs
-rw-r--r-- 1859 create_dir.rs
-rw-r--r-- 2113 dbg_macro.rs
-rw-r--r-- 12411 default.rs
-rw-r--r-- 8256 default_numeric_fallback.rs
-rw-r--r-- 5532 deprecated_lints.rs
-rw-r--r-- 10863 dereference.rs
-rw-r--r-- 14951 derive.rs
-rw-r--r-- 3082 disallowed_method.rs
-rw-r--r-- 27338 doc.rs
-rw-r--r-- 3460 double_comparison.rs
-rw-r--r-- 2145 double_parens.rs
-rw-r--r-- 6662 drop_forget_ref.rs
-rw-r--r-- 2817 duration_subsec.rs
-rw-r--r-- 2045 else_if_without_else.rs
-rw-r--r-- 2253 empty_enum.rs
-rw-r--r-- 25105 entry.rs
-rw-r--r-- 3277 enum_clike.rs
-rw-r--r-- 10394 enum_variants.rs
-rw-r--r-- 11536 eq_op.rs
-rw-r--r-- 1750 erasing_op.rs
-rw-r--r-- 6720 escape.rs
-rw-r--r-- 9439 eta_reduction.rs
-rw-r--r-- 12492 eval_order_dependence.rs
-rw-r--r-- 5290 excessive_bools.rs
-rw-r--r-- 3573 exhaustive_items.rs
-rw-r--r-- 1725 exit.rs
-rw-r--r-- 6375 explicit_write.rs
-rw-r--r-- 5135 fallible_impl_from.rs
-rw-r--r-- 4167 float_equality_without_abs.rs
-rw-r--r-- 6290 float_literal.rs
-rw-r--r-- 24746 floating_point_arithmetic.rs
-rw-r--r-- 8134 format.rs
-rw-r--r-- 12009 formatting.rs
-rw-r--r-- 2581 from_over_into.rs
-rw-r--r-- 3721 from_str_radix_10.rs
drwxr-xr-x - functions
-rw-r--r-- 4845 future_not_send.rs
-rw-r--r-- 3763 get_last_with_len.rs
-rw-r--r-- 3437 identity_op.rs
-rw-r--r-- 4641 if_let_mutex.rs
-rw-r--r-- 3063 if_let_some_result.rs
-rw-r--r-- 2602 if_not_else.rs
-rw-r--r-- 3921 if_then_some_else_none.rs
-rw-r--r-- 14122 implicit_hasher.rs
-rw-r--r-- 5104 implicit_return.rs
-rw-r--r-- 7183 implicit_saturating_sub.rs
-rw-r--r-- 4526 inconsistent_struct_constructor.rs
-rw-r--r-- 6442 indexing_slicing.rs
-rw-r--r-- 8413 infinite_iter.rs
-rw-r--r-- 3020 inherent_impl.rs
-rw-r--r-- 5216 inherent_to_string.rs
-rw-r--r-- 1922 inline_fn_without_body.rs
-rw-r--r-- 6163 int_plus_one.rs
-rw-r--r-- 1783 integer_division.rs
-rw-r--r-- 7967 invalid_upcast_comparisons.rs
-rw-r--r-- 2624 items_after_statements.rs
-rw-r--r-- 2888 large_const_arrays.rs
-rw-r--r-- 5313 large_enum_variant.rs
-rw-r--r-- 2283 large_stack_arrays.rs
-rw-r--r-- 17859 len_zero.rs
-rw-r--r-- 6025 let_if_seq.rs
-rw-r--r-- 5947 let_underscore.rs
-rw-r--r-- 101298 lib.rs
-rw-r--r-- 17219 lifetimes.rs
-rw-r--r-- 16740 literal_representation.rs
drwxr-xr-x - loops
-rw-r--r-- 8869 macro_use.rs
-rw-r--r-- 1937 main_recursion.rs
-rw-r--r-- 7456 manual_async_fn.rs
-rw-r--r-- 10772 manual_map.rs
-rw-r--r-- 6382 manual_non_exhaustive.rs
-rw-r--r-- 3659 manual_ok_or.rs
-rw-r--r-- 9549 manual_strip.rs
-rw-r--r-- 4614 manual_unwrap_or.rs
-rw-r--r-- 6347 map_clone.rs
-rw-r--r-- 5576 map_err_ignore.rs
-rw-r--r-- 4569 map_identity.rs
-rw-r--r-- 9951 map_unit_fn.rs
-rw-r--r-- 3196 match_on_vec_items.rs
-rw-r--r-- 84639 matches.rs
-rw-r--r-- 3316 mem_discriminant.rs
-rw-r--r-- 1600 mem_forget.rs
-rw-r--r-- 11017 mem_replace.rs
drwxr-xr-x - methods
-rw-r--r-- 4382 minmax.rs
-rw-r--r-- 27025 misc.rs
-rw-r--r-- 19348 misc_early.rs
-rw-r--r-- 5269 missing_const_for_fn.rs
-rw-r--r-- 6596 missing_doc.rs
-rw-r--r-- 6550 missing_inline.rs
-rw-r--r-- 5169 modulo_arithmetic.rs
-rw-r--r-- 3513 multiple_crate_versions.rs
-rw-r--r-- 4856 mut_key.rs
-rw-r--r-- 3658 mut_mut.rs
-rw-r--r-- 2351 mut_mutex_lock.rs
-rw-r--r-- 3291 mut_reference.rs
-rw-r--r-- 4020 mutable_debug_assertion.rs
-rw-r--r-- 3467 mutex_atomic.rs
-rw-r--r-- 4856 needless_arbitrary_self_type.rs
-rw-r--r-- 13198 needless_bool.rs
-rw-r--r-- 4990 needless_borrow.rs
-rw-r--r-- 3389 needless_borrowed_ref.rs
-rw-r--r-- 13516 needless_continue.rs
-rw-r--r-- 6333 needless_for_each.rs
-rw-r--r-- 13827 needless_pass_by_value.rs
-rw-r--r-- 7167 needless_question_mark.rs
-rw-r--r-- 2105 needless_update.rs
-rw-r--r-- 3284 neg_cmp_op_on_partial_ord.rs
-rw-r--r-- 1825 neg_multiply.rs
-rw-r--r-- 7207 new_without_default.rs
-rw-r--r-- 6642 no_effect.rs
-rw-r--r-- 20627 non_copy_const.rs
-rw-r--r-- 14895 non_expressive_names.rs
-rw-r--r-- 3749 non_octal_unix_permissions.rs
-rw-r--r-- 6894 open_options.rs
-rw-r--r-- 1885 option_env_unwrap.rs
-rw-r--r-- 8334 option_if_let_else.rs
-rw-r--r-- 3804 overflow_check_conditional.rs
-rw-r--r-- 2935 panic_in_result_fn.rs
-rw-r--r-- 3268 panic_unimplemented.rs
-rw-r--r-- 2086 partialeq_ne_impl.rs
-rw-r--r-- 10529 pass_by_ref_or_value.rs
-rw-r--r-- 2744 path_buf_push_overwrite.rs
-rw-r--r-- 11036 pattern_type_mismatch.rs
-rw-r--r-- 5731 precedence.rs
-rw-r--r-- 17465 ptr.rs
-rw-r--r-- 3434 ptr_eq.rs
-rw-r--r-- 4759 ptr_offset_with_cast.rs
-rw-r--r-- 7348 question_mark.rs
-rw-r--r-- 19354 ranges.rs
-rw-r--r-- 24443 redundant_clone.rs
-rw-r--r-- 5877 redundant_closure_call.rs
-rw-r--r-- 4218 redundant_else.rs
-rw-r--r-- 2657 redundant_field_names.rs
-rw-r--r-- 2769 redundant_pub_crate.rs
-rw-r--r-- 3300 redundant_slicing.rs
-rw-r--r-- 4620 redundant_static_lifetimes.rs
-rw-r--r-- 2402 ref_option_ref.rs
-rw-r--r-- 5815 reference.rs
-rw-r--r-- 8206 regex.rs
-rw-r--r-- 3373 repeat_once.rs
-rw-r--r-- 10625 returns.rs
-rw-r--r-- 1606 self_assignment.rs
-rw-r--r-- 2352 semicolon_if_nothing_returned.rs
-rw-r--r-- 2163 serde_api.rs
-rw-r--r-- 13935 shadow.rs
-rw-r--r-- 5382 single_component_path_imports.rs
-rw-r--r-- 5679 size_of_in_element_count.rs
-rw-r--r-- 11066 slow_vector_initialization.rs
-rw-r--r-- 4851 stable_sort_primitive.rs
-rw-r--r-- 15048 strings.rs
-rw-r--r-- 24203 suspicious_operation_groupings.rs
-rw-r--r-- 6741 suspicious_trait_impl.rs
-rw-r--r-- 9410 swap.rs
-rw-r--r-- 6704 tabs_in_doc_comments.rs
-rw-r--r-- 1427 temporary_assignment.rs
-rw-r--r-- 4114 to_digit_is_some.rs
-rw-r--r-- 3806 to_string_in_display.rs
-rw-r--r-- 7016 trait_bounds.rs
drwxr-xr-x - transmute
-rw-r--r-- 3362 transmuting_null.rs
-rw-r--r-- 7261 try_err.rs
drwxr-xr-x - types
-rw-r--r-- 1943 undropped_manually_drops.rs
-rw-r--r-- 4735 unicode.rs
-rw-r--r-- 7552 unit_return_expecting_ord.rs
drwxr-xr-x - unit_types
-rw-r--r-- 4779 unnamed_address.rs
-rw-r--r-- 2676 unnecessary_self_imports.rs
-rw-r--r-- 11019 unnecessary_sort_by.rs
-rw-r--r-- 5878 unnecessary_wraps.rs
-rw-r--r-- 15697 unnested_or_patterns.rs
-rw-r--r-- 2446 unsafe_removed_from_name.rs
-rw-r--r-- 3412 unused_io_amount.rs
-rw-r--r-- 2243 unused_self.rs
-rw-r--r-- 4633 unused_unit.rs
-rw-r--r-- 9055 unwrap.rs
-rw-r--r-- 4907 unwrap_in_result.rs
-rw-r--r-- 4323 upper_case_acronyms.rs
-rw-r--r-- 17046 use_self.rs
-rw-r--r-- 7963 useless_conversion.rs
drwxr-xr-x - utils
-rw-r--r-- 5917 vec.rs
-rw-r--r-- 6455 vec_init_then_push.rs
-rw-r--r-- 2270 vec_resize_to_zero.rs
-rw-r--r-- 3068 verbose_file_reads.rs
-rw-r--r-- 2018 wildcard_dependencies.rs
-rw-r--r-- 7696 wildcard_imports.rs
-rw-r--r-- 23239 write.rs
-rw-r--r-- 2585 zero_div_zero.rs
-rw-r--r-- 3177 zero_sized_map_values.rs