]> git.lizzy.rs Git - rust.git/tree - src/tools/clippy/clippy_lints/src/
Add 'src/tools/clippy/' from commit 'd2708873ef711ec8ab45df1e984ecf24a96cd369'
[rust.git] / src / tools / clippy / clippy_lints / src /
drwxr-xr-x   ..
-rw-r--r-- 4104 approx_const.rs
-rw-r--r-- 5535 arithmetic.rs
-rw-r--r-- 1701 as_conversions.rs
-rw-r--r-- 5777 assertions_on_constants.rs
-rw-r--r-- 10457 assign_ops.rs
-rw-r--r-- 4847 atomic_ordering.rs
-rw-r--r-- 24135 attrs.rs
-rw-r--r-- 3656 await_holding_lock.rs
-rw-r--r-- 12013 bit_mask.rs
-rw-r--r-- 1432 blacklisted_name.rs
-rw-r--r-- 6079 block_in_if_condition.rs
-rw-r--r-- 18039 booleans.rs
-rw-r--r-- 5037 bytecount.rs
-rw-r--r-- 3641 cargo_common_metadata.rs
-rw-r--r-- 11376 checked_conversions.rs
-rw-r--r-- 5235 cognitive_complexity.rs
-rw-r--r-- 5235 collapsible_if.rs
-rw-r--r-- 3578 comparison_chain.rs
-rw-r--r-- 23797 consts.rs
-rw-r--r-- 13747 copies.rs
-rw-r--r-- 1699 copy_iterator.rs
-rw-r--r-- 2074 dbg_macro.rs
-rw-r--r-- 3173 default_trait_access.rs
-rw-r--r-- 6508 deprecated_lints.rs
-rw-r--r-- 3997 dereference.rs
-rw-r--r-- 10407 derive.rs
-rw-r--r-- 18547 doc.rs
-rw-r--r-- 3502 double_comparison.rs
-rw-r--r-- 2365 double_parens.rs
-rw-r--r-- 2771 drop_bounds.rs
-rw-r--r-- 6633 drop_forget_ref.rs
-rw-r--r-- 2646 duration_subsec.rs
-rw-r--r-- 2033 else_if_without_else.rs
-rw-r--r-- 1967 empty_enum.rs
-rw-r--r-- 6868 entry.rs
-rw-r--r-- 3293 enum_clike.rs
-rw-r--r-- 9888 enum_variants.rs
-rw-r--r-- 10504 eq_op.rs
-rw-r--r-- 1751 erasing_op.rs
-rw-r--r-- 5013 escape.rs
-rw-r--r-- 8391 eta_reduction.rs
-rw-r--r-- 13176 eval_order_dependence.rs
-rw-r--r-- 5137 excessive_bools.rs
-rw-r--r-- 1816 exit.rs
-rw-r--r-- 6352 explicit_write.rs
-rw-r--r-- 4973 fallible_impl_from.rs
-rw-r--r-- 6273 float_literal.rs
-rw-r--r-- 16602 floating_point_arithmetic.rs
-rw-r--r-- 7846 format.rs
-rw-r--r-- 11672 formatting.rs
-rw-r--r-- 23198 functions.rs
-rw-r--r-- 4808 future_not_send.rs
-rw-r--r-- 3670 get_last_with_len.rs
-rw-r--r-- 4900 identity_conversion.rs
-rw-r--r-- 2807 identity_op.rs
-rw-r--r-- 4781 if_let_mutex.rs
-rw-r--r-- 3045 if_let_some_result.rs
-rw-r--r-- 2590 if_not_else.rs
-rw-r--r-- 5396 implicit_return.rs
-rw-r--r-- 6391 implicit_saturating_sub.rs
-rw-r--r-- 6353 indexing_slicing.rs
-rw-r--r-- 8384 infinite_iter.rs
-rw-r--r-- 3142 inherent_impl.rs
-rw-r--r-- 5185 inherent_to_string.rs
-rw-r--r-- 1850 inline_fn_without_body.rs
-rw-r--r-- 6147 int_plus_one.rs
-rw-r--r-- 1714 integer_division.rs
-rw-r--r-- 2183 items_after_statements.rs
-rw-r--r-- 2915 large_const_arrays.rs
-rw-r--r-- 5218 large_enum_variant.rs
-rw-r--r-- 2277 large_stack_arrays.rs
-rw-r--r-- 10975 len_zero.rs
-rw-r--r-- 7268 let_if_seq.rs
-rw-r--r-- 4141 let_underscore.rs
-rw-r--r-- 81601 lib.rs
-rw-r--r-- 17688 lifetimes.rs
-rw-r--r-- 14857 literal_representation.rs
-rw-r--r-- 91746 loops.rs
-rw-r--r-- 1853 macro_use.rs
-rw-r--r-- 1932 main_recursion.rs
-rw-r--r-- 5564 map_clone.rs
-rw-r--r-- 9859 map_unit_fn.rs
-rw-r--r-- 2803 match_on_vec_items.rs
-rw-r--r-- 43500 matches.rs
-rw-r--r-- 3259 mem_discriminant.rs
-rw-r--r-- 1591 mem_forget.rs
-rw-r--r-- 8601 mem_replace.rs
drwxr-xr-x - methods
-rw-r--r-- 3402 minmax.rs
-rw-r--r-- 24995 misc.rs
-rw-r--r-- 22438 misc_early.rs
-rw-r--r-- 4764 missing_const_for_fn.rs
-rw-r--r-- 7060 missing_doc.rs
-rw-r--r-- 6405 missing_inline.rs
-rw-r--r-- 5147 modulo_arithmetic.rs
-rw-r--r-- 2303 multiple_crate_versions.rs
-rw-r--r-- 4534 mut_key.rs
-rw-r--r-- 3642 mut_mut.rs
-rw-r--r-- 3142 mut_reference.rs
-rw-r--r-- 5682 mutable_debug_assertion.rs
-rw-r--r-- 3209 mutex_atomic.rs
-rw-r--r-- 12911 needless_bool.rs
-rw-r--r-- 4659 needless_borrow.rs
-rw-r--r-- 3808 needless_borrowed_ref.rs
-rw-r--r-- 13505 needless_continue.rs
-rw-r--r-- 13846 needless_pass_by_value.rs
-rw-r--r-- 1694 needless_update.rs
-rw-r--r-- 3230 neg_cmp_op_on_partial_ord.rs
-rw-r--r-- 1828 neg_multiply.rs
-rw-r--r-- 9849 new_without_default.rs
-rw-r--r-- 6740 no_effect.rs
-rw-r--r-- 10534 non_copy_const.rs
-rw-r--r-- 14324 non_expressive_names.rs
-rw-r--r-- 6994 open_options.rs
-rw-r--r-- 1881 option_env_unwrap.rs
-rw-r--r-- 3807 overflow_check_conditional.rs
-rw-r--r-- 5234 panic_unimplemented.rs
-rw-r--r-- 1982 partialeq_ne_impl.rs
-rw-r--r-- 2690 path_buf_push_overwrite.rs
-rw-r--r-- 6028 precedence.rs
-rw-r--r-- 12480 ptr.rs
-rw-r--r-- 4742 ptr_offset_with_cast.rs
-rw-r--r-- 7656 question_mark.rs
-rw-r--r-- 8300 ranges.rs
-rw-r--r-- 22225 redundant_clone.rs
-rw-r--r-- 2053 redundant_field_names.rs
-rw-r--r-- 7546 redundant_pattern_matching.rs
-rw-r--r-- 2831 redundant_pub_crate.rs
-rw-r--r-- 4089 redundant_static_lifetimes.rs
-rw-r--r-- 3315 reference.rs
-rw-r--r-- 9820 regex.rs
-rw-r--r-- 12109 returns.rs
-rw-r--r-- 2132 serde_api.rs
-rw-r--r-- 13475 shadow.rs
-rw-r--r-- 2016 single_component_path_imports.rs
-rw-r--r-- 11309 slow_vector_initialization.rs
-rw-r--r-- 7336 strings.rs
-rw-r--r-- 6695 suspicious_trait_impl.rs
-rw-r--r-- 9548 swap.rs
-rw-r--r-- 6168 tabs_in_doc_comments.rs
-rw-r--r-- 1732 temporary_assignment.rs
-rw-r--r-- 4059 to_digit_is_some.rs
-rw-r--r-- 3436 trait_bounds.rs
-rw-r--r-- 27315 transmute.rs
-rw-r--r-- 3602 transmuting_null.rs
-rw-r--r-- 6416 trivially_copy_pass_by_ref.rs
-rw-r--r-- 4755 try_err.rs
-rw-r--r-- 92127 types.rs
-rw-r--r-- 4499 unicode.rs
-rw-r--r-- 4834 unnamed_address.rs
-rw-r--r-- 2450 unsafe_removed_from_name.rs
-rw-r--r-- 3436 unused_io_amount.rs
-rw-r--r-- 3360 unused_self.rs
-rw-r--r-- 8250 unwrap.rs
-rw-r--r-- 10003 use_self.rs
drwxr-xr-x - utils
-rw-r--r-- 3514 vec.rs
-rw-r--r-- 3011 verbose_file_reads.rs
-rw-r--r-- 2181 wildcard_dependencies.rs
-rw-r--r-- 5949 wildcard_imports.rs
-rw-r--r-- 17149 write.rs
-rw-r--r-- 2495 zero_div_zero.rs