rust/clippy_lints/src
bors 9205e3d800 Auto merge of #7800 - 1nF0rmed:no-lint-in-match-single-amp, r=llogiq
Refactor `clippy::match_ref_pats` to check for multiple reference patterns

fixes #7740

When there is only one pattern, to begin with, i.e. a single deref(`&`), then in such cases we suppress `clippy::match_ref_pats`.
This is done by checking the count of the reference pattern and emitting `clippy::match_ref_pats` when more than one pattern is present.

Removed certain errors in the `stderr` tests as they would not be triggered.

changelog: Refactor `clippy::match_ref_pats` to check for multiple reference patterns
2021-10-10 11:13:05 +00:00
..
casts Restriction lint for function pointer casts 2021-10-07 09:11:47 -05:00
functions Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
loops Merge remote-tracking branch 'upstream/master' into rustup 2021-10-07 11:11:23 +02:00
methods Merge remote-tracking branch 'upstream/master' into rustup 2021-10-07 11:11:23 +02:00
misc_early Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup 2021-08-12 11:16:25 +02:00
transmute Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
types Merge remote-tracking branch 'upstream/master' into rustup 2021-10-07 11:11:23 +02:00
unit_types Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
utils Merge remote-tracking branch 'upstream/master' into rustup 2021-10-07 11:11:23 +02:00
absurd_extreme_comparisons.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
approx_const.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
arithmetic.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
as_conversions.rs Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup 2021-08-12 11:16:25 +02:00
asm_syntax.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
assertions_on_constants.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
assign_ops.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
async_yields_async.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
attrs.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
await_holding_invalid.rs Fix typo ("asynx" corrected to "async") 2021-09-28 17:53:12 -03:00
bit_mask.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
blacklisted_name.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
blocks_in_if_conditions.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
bool_assert_comparison.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
booleans.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
bytecount.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
cargo_common_metadata.rs Do not pass hir::Crate to lints. 2021-09-30 17:39:54 +02:00
case_sensitive_file_extension_comparisons.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
checked_conversions.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
cognitive_complexity.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
collapsible_if.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
collapsible_match.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
comparison_chain.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
copies.rs Keep a parent LocalDefId in SpanData. 2021-09-10 20:17:33 +02:00
copy_iterator.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
create_dir.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
dbg_macro.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
default_numeric_fallback.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
default.rs Fix false positive when Drop and Copy involved 2021-10-09 14:56:33 +02:00
deprecated_lints.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
dereference.rs Introduce hir::ExprKind::Let - Take 2 2021-08-15 16:18:26 -03:00
derivable_impls.rs Change not enum to is struct 2021-10-03 13:01:57 +03:30
derive.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
disallowed_method.rs Do not pass hir::Crate to lints. 2021-09-30 17:39:54 +02:00
disallowed_script_idents.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
disallowed_type.rs Do not pass hir::Crate to lints. 2021-09-30 17:39:54 +02:00
doc.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-10-07 11:11:23 +02:00
double_comparison.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
double_parens.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
drop_forget_ref.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
duration_subsec.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
else_if_without_else.rs Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup 2021-08-12 11:16:25 +02:00
empty_enum.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
entry.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
enum_clike.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
enum_variants.rs Fix clippy 2021-07-31 19:31:30 +03:00
eq_op.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
equatable_if_let.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
erasing_op.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
escape.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
eta_reduction.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
eval_order_dependence.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
excessive_bools.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
exhaustive_items.rs Fix clippy 2021-07-31 19:31:30 +03:00
exit.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
explicit_write.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
fallible_impl_from.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
feature_name.rs Do not pass hir::Crate to lints. 2021-09-30 17:39:54 +02:00
float_equality_without_abs.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
float_literal.rs Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup 2021-09-28 18:03:12 +01:00
floating_point_arithmetic.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
format.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-10-07 11:11:23 +02:00
formatting.rs Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup 2021-09-28 18:03:12 +01:00
from_over_into.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
from_str_radix_10.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
future_not_send.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
get_last_with_len.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
identity_op.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
if_let_mutex.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
if_not_else.rs Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup 2021-08-12 11:16:25 +02:00
if_then_panic.rs use sugg::Sugg::maybe_par 2021-10-01 13:13:09 +08:00
if_then_some_else_none.rs Introduce hir::ExprKind::Let - Take 2 2021-08-15 16:18:26 -03:00
implicit_hasher.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-10-07 11:11:23 +02:00
implicit_return.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
implicit_saturating_sub.rs Introduce hir::ExprKind::Let - Take 2 2021-08-15 16:18:26 -03:00
inconsistent_struct_constructor.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
indexing_slicing.rs Introduce hir::ExprKind::Let - Take 2 2021-08-15 16:18:26 -03:00
infinite_iter.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
inherent_impl.rs Do not pass hir::Crate to lints. 2021-09-30 17:39:54 +02:00
inherent_to_string.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
inline_fn_without_body.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
int_plus_one.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
integer_division.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
invalid_upcast_comparisons.rs rustc_target: move LayoutOf to ty::layout. 2021-09-02 01:17:14 +03:00
items_after_statements.rs Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup 2021-08-12 11:16:25 +02:00
iter_not_returning_iterator.rs Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup 2021-09-28 18:03:12 +01:00
large_const_arrays.rs Keep a parent LocalDefId in SpanData. 2021-09-10 20:17:33 +02:00
large_enum_variant.rs fix bug for large_enum_variants 2021-09-30 10:07:57 +08:00
large_stack_arrays.rs rustc_target: move LayoutOf to ty::layout. 2021-09-02 01:17:14 +03:00
len_zero.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-10-07 11:11:23 +02:00
let_if_seq.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
let_underscore.rs add tcx to fn walk 2021-08-26 11:00:30 +02:00
lib.deprecated.rs Fix lint register code format 2021-09-29 05:46:39 +02:00
lib.register_all.rs Fix lint register code format 2021-09-29 05:46:39 +02:00
lib.register_cargo.rs Fix lint register code format 2021-09-29 05:46:39 +02:00
lib.register_complexity.rs Fix lint register code format 2021-09-29 05:46:39 +02:00
lib.register_correctness.rs Fix lint register code format 2021-09-29 05:46:39 +02:00
lib.register_internal.rs Fix lint register code format 2021-09-29 05:46:39 +02:00
lib.register_lints.rs Add undocumented_unsafe_blocks lint 2021-10-07 17:06:21 -04:00
lib.register_nursery.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
lib.register_pedantic.rs Move shadow_unrelated to restriction 2021-09-30 13:54:28 -05:00
lib.register_perf.rs Fix lint register code format 2021-09-29 05:46:39 +02:00
lib.register_restriction.rs Add undocumented_unsafe_blocks lint 2021-10-07 17:06:21 -04:00
lib.register_style.rs Fix lint register code format 2021-09-29 05:46:39 +02:00
lib.register_suspicious.rs Fix lint register code format 2021-09-29 05:46:39 +02:00
lib.rs Add undocumented_unsafe_blocks lint 2021-10-07 17:06:21 -04:00
lifetimes.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
literal_representation.rs Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup 2021-08-12 11:16:25 +02:00
macro_use.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-10-07 11:11:23 +02:00
main_recursion.rs Do not pass hir::Crate to lints. 2021-09-30 17:39:54 +02:00
manual_async_fn.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
manual_map.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
manual_non_exhaustive.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
manual_ok_or.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
manual_strip.rs Introduce hir::ExprKind::Let - Take 2 2021-08-15 16:18:26 -03:00
manual_unwrap_or.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
map_clone.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
map_err_ignore.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
map_unit_fn.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-10-07 11:11:23 +02:00
match_on_vec_items.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
match_result_ok.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
matches.rs Refactor to check for multiple reference patterns 2021-10-09 22:30:12 +05:30
mem_discriminant.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
mem_forget.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
mem_replace.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
minmax.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
misc.rs Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup 2021-09-28 18:03:12 +01:00
missing_const_for_fn.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
missing_doc.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-10-07 11:11:23 +02:00
missing_enforced_import_rename.rs Do not pass hir::Crate to lints. 2021-09-30 17:39:54 +02:00
missing_inline.rs Teach tools that macros are now HIR items 2021-08-28 00:24:39 -07:00
module_style.rs Rebase fallout. 2021-09-11 17:52:39 +02:00
modulo_arithmetic.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
multiple_crate_versions.rs Do not pass hir::Crate to lints. 2021-09-30 17:39:54 +02:00
mut_key.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
mut_mut.rs Introduce hir::ExprKind::Let - Take 2 2021-08-15 16:18:26 -03:00
mut_mutex_lock.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
mut_reference.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
mutable_debug_assertion.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
mutex_atomic.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
needless_arbitrary_self_type.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
needless_bitwise_bool.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
needless_bool.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
needless_borrow.rs Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup 2021-09-28 18:03:12 +01:00
needless_borrowed_ref.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
needless_continue.rs Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup 2021-08-12 11:16:25 +02:00
needless_for_each.rs Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup 2021-08-12 11:16:25 +02:00
needless_option_as_deref.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
needless_pass_by_value.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
needless_question_mark.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
needless_update.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
neg_cmp_op_on_partial_ord.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
neg_multiply.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
new_without_default.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
no_effect.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
non_copy_const.rs make unevaluated const substs optional 2021-08-26 11:00:30 +02:00
non_expressive_names.rs Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup 2021-09-28 18:03:12 +01:00
non_octal_unix_permissions.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
non_send_fields_in_send_ty.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-10-07 11:11:23 +02:00
nonstandard_macro_braces.rs Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup 2021-08-12 11:16:25 +02:00
open_options.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
option_env_unwrap.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
option_if_let_else.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
overflow_check_conditional.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
panic_in_result_fn.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
panic_unimplemented.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
partialeq_ne_impl.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
pass_by_ref_or_value.rs rustc_target: move LayoutOf to ty::layout. 2021-09-02 01:17:14 +03:00
path_buf_push_overwrite.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
pattern_type_mismatch.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
precedence.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
ptr_eq.rs Fix typos “an”→“a” and a few different ones that appeared in the same search 2021-08-22 18:15:49 +02:00
ptr_offset_with_cast.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
ptr.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
question_mark.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
ranges.rs Fix dogfood 2021-09-02 12:39:54 +01:00
redundant_clone.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
redundant_closure_call.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
redundant_else.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
redundant_field_names.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
redundant_pub_crate.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
redundant_slicing.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
redundant_static_lifetimes.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
ref_option_ref.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
reference.rs Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup 2021-08-12 11:16:25 +02:00
regex.rs Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup 2021-09-28 18:03:12 +01:00
repeat_once.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-10-07 11:11:23 +02:00
returns.rs Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup 2021-09-28 18:03:12 +01:00
same_name_method.rs Do not pass hir::Crate to lints. 2021-09-30 17:39:54 +02:00
self_assignment.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
self_named_constructors.rs add tcx to fn walk 2021-08-26 11:00:30 +02:00
semicolon_if_nothing_returned.rs Don't trigger semicolon_if_nothing_returned in expanded code 2021-10-08 16:16:56 +02:00
serde_api.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
shadow.rs Make shadow_reuse suggestion less verbose 2021-10-07 16:50:13 +08:00
single_component_path_imports.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
size_of_in_element_count.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
slow_vector_initialization.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
stable_sort_primitive.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
strings.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
strlen_on_c_strings.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
suspicious_operation_groupings.rs Introduce hir::ExprKind::Let - Take 2 2021-08-15 16:18:26 -03:00
suspicious_trait_impl.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
swap.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
tabs_in_doc_comments.rs Keep a parent LocalDefId in SpanData. 2021-09-10 20:17:33 +02:00
temporary_assignment.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
to_digit_is_some.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
to_string_in_display.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
trait_bounds.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
transmuting_null.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
try_err.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
undocumented_unsafe_blocks.rs Add undocumented_unsafe_blocks lint 2021-10-07 17:06:21 -04:00
undropped_manually_drops.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
unicode.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
unit_return_expecting_ord.rs cleanup: Span::new -> Span::with_lo 2021-08-21 18:07:21 +03:00
unnamed_address.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
unnecessary_self_imports.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
unnecessary_sort_by.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
unnecessary_wraps.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
unnested_or_patterns.rs Introduce hir::ExprKind::Let - Take 2 2021-08-15 16:18:26 -03:00
unsafe_removed_from_name.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
unused_async.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
unused_io_amount.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
unused_self.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
unused_unit.rs Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup 2021-08-12 11:16:25 +02:00
unwrap_in_result.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
unwrap.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
upper_case_acronyms.rs Fix clippy 2021-07-31 19:31:30 +03:00
use_self.rs add tcx to fn walk 2021-08-26 11:00:30 +02:00
useless_conversion.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
vec_init_then_push.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
vec_resize_to_zero.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
vec.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
verbose_file_reads.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
wildcard_dependencies.rs Do not pass hir::Crate to lints. 2021-09-30 17:39:54 +02:00
wildcard_imports.rs Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
write.rs cleanup: Span::new -> Span::with_lo 2021-08-21 18:07:21 +03:00
zero_div_zero.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
zero_sized_map_values.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00