rust-clippy/clippy_lints/src
bors 05fc1c7dbc Auto merge of #9289 - mkrasnitski:9094, r=xFrednet
Extend `if_then_some_else_none` to also suggest `bool::then_some`

Closes #9094.

changelog: Extend `if_then_some_else_none` to also suggest `bool::then_some`
2022-08-12 06:25:59 +00:00
..
cargo Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup 2022-07-28 19:08:22 +02:00
casts Fix cast_abs_to_unsigned generates non-compiling code when original code is in parens 2022-08-04 21:30:50 +03:00
functions Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
loops use slice match more often 2022-08-02 18:12:31 +08:00
matches Merge remote-tracking branch 'upstream/master' into rustup 2022-08-11 19:26:04 +02:00
methods Merge remote-tracking branch 'upstream/master' into rustup 2022-08-11 19:26:04 +02:00
misc_early Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
operators Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup 2022-07-28 19:08:22 +02:00
transmute Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
types Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
unit_types Don't lint missing_docs_in_private_items on proc-macro output 2022-08-07 21:53:51 -04:00
utils Merge remote-tracking branch 'upstream/master' into rustup 2022-08-11 19:26:04 +02:00
almost_complete_letter_range.rs remove unnecessary to_string and String::new 2022-06-13 15:48:40 +09:00
approx_const.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
as_conversions.rs Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup 2022-07-28 19:08:22 +02:00
as_underscore.rs remove unnecessary to_string and String::new 2022-06-13 15:48:40 +09:00
asm_syntax.rs Merge commit '23d11428de3e973b34a5090a78d62887f821c90e' into clippyup 2021-12-17 13:40:22 +01:00
assertions_on_constants.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
assertions_on_result_states.rs move [assertions_on_result_states] to restriction 2022-08-02 10:13:51 +02:00
async_yields_async.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
attrs.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
await_holding_invalid.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
blocks_in_if_conditions.rs Fix clippy build 2022-07-12 21:00:14 +04:00
bool_assert_comparison.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
booleans.rs Rename logic_bug to overly_complex_bool_expr 2022-08-08 18:38:39 +02:00
borrow_as_ptr.rs Merge 'rust-clippy/master' into clippyup 2022-05-21 13:24:00 +02:00
borrow_deref_ref.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
bytecount.rs Fix clippy build 2022-07-12 21:00:14 +04:00
bytes_count_to_len.rs Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup 2022-05-05 15:12:52 +01:00
case_sensitive_file_extension_comparisons.rs Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup 2022-07-28 19:08:22 +02:00
checked_conversions.rs use slice match more often 2022-08-02 18:12:31 +08:00
cognitive_complexity.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
collapsible_if.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
comparison_chain.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
copies.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
copy_iterator.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
crate_in_macro_def.rs Remove TreeAndSpacing. 2022-07-29 15:52:15 +10:00
create_dir.rs use slice match more often 2022-08-02 18:12:31 +08:00
dbg_macro.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
default.rs Don't lint default_trait_access in proc-macro expansions 2022-08-07 21:55:08 -04:00
default_instead_of_iter_empty.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
default_numeric_fallback.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
default_union_representation.rs Merge 'rust-clippy/master' into clippyup 2022-05-21 13:24:00 +02:00
deprecated_lints.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
dereference.rs Auto merge of #9126 - Jarcho:auto_deref_sugg, r=Manishearth 2022-08-08 15:20:24 +00:00
derivable_impls.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
derive.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
disallowed_methods.rs Merge 'rust-clippy/master' into clippyup 2022-05-21 13:24:00 +02:00
disallowed_names.rs Change lint name to plural 2022-07-29 19:35:39 +01:00
disallowed_script_idents.rs Update clippy 2022-01-23 19:31:32 +08:00
disallowed_types.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
doc.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
doc_link_with_quotes.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
double_parens.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
drop_forget_ref.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
duplicate_mod.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
else_if_without_else.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
empty_drop.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
empty_enum.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
empty_structs_with_brackets.rs remove unnecessary to_string and String::new 2022-06-13 15:48:40 +09:00
entry.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
enum_clike.rs address review 2022-06-14 16:11:27 +02:00
enum_variants.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
equatable_if_let.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
escape.rs Factor out hir::Node::Binding 2022-07-01 10:04:19 -05:00
eta_reduction.rs Remove DefId from AssocItemContainer. 2022-08-01 21:38:45 +02:00
excessive_bools.rs ast: Add span to Extern 2022-07-02 23:30:03 +01:00
exhaustive_items.rs Drop vis in FieldDef. 2022-04-23 09:56:15 +02:00
exit.rs Return a LocalDefId in get_parent_item. 2022-01-15 21:26:20 +01:00
explicit_write.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
fallible_impl_from.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
float_literal.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
floating_point_arithmetic.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
format.rs Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup 2022-07-28 19:08:22 +02:00
format_args.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
format_impl.rs Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup 2022-07-28 19:08:22 +02:00
format_push_string.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
formatting.rs Use new util function in suspicious_else_formatting 2022-08-07 21:52:27 -04:00
from_over_into.rs Merge 'rust-clippy/master' into clippyup 2022-05-21 13:24:00 +02:00
from_str_radix_10.rs use slice match more often 2022-08-02 18:12:31 +08:00
future_not_send.rs Add traits::fully_solve_obligation that acts like traits::fully_normalize 2022-08-04 13:50:56 +00:00
get_first.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
if_let_mutex.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
if_not_else.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
if_then_some_else_none.rs Adjust lint description for better clarity 2022-08-11 22:41:25 -04:00
implicit_hasher.rs Merge 'rust-clippy/master' into clippyup 2022-05-21 13:24:00 +02:00
implicit_return.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
implicit_saturating_sub.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
inconsistent_struct_constructor.rs Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup 2022-05-05 15:12:52 +01:00
index_refutable_slice.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
indexing_slicing.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
infinite_iter.rs Fix clippy build 2022-07-12 21:00:14 +04:00
inherent_impl.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
inherent_to_string.rs Rollup merge of #99342 - TaKO8Ki:avoid-symbol-to-string-conversions, r=compiler-errors 2022-07-16 22:30:56 +02:00
init_numbered_fields.rs Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup 2022-05-05 15:12:52 +01:00
inline_fn_without_body.rs Replace &mut DiagnosticBuilder, in signatures, with &mut Diagnostic. 2022-02-23 05:38:19 +00:00
int_plus_one.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
invalid_upcast_comparisons.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
invalid_utf8_in_unchecked.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
items_after_statements.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
iter_not_returning_iterator.rs Merge commit '8d14c94b5c0a66241b4244f1c60ac5859cec1d97' into clippyup 2022-01-17 13:29:07 +01:00
large_const_arrays.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
large_enum_variant.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
large_include_file.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
large_stack_arrays.rs implement valtrees as the type-system representation for constant values 2022-06-14 16:07:11 +02:00
len_zero.rs Lifetime variance fixes for clippy 2022-05-23 09:34:49 -07:00
let_if_seq.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
let_underscore.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
lib.deprecated.rs Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup 2021-10-07 11:21:30 +02:00
lib.register_all.rs Auto merge of #9288 - lukaslueg:partialeqnone, r=Jarcho 2022-08-09 00:12:29 +00:00
lib.register_cargo.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
lib.register_complexity.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
lib.register_correctness.rs Rename logic_bug to overly_complex_bool_expr 2022-08-08 18:38:39 +02:00
lib.register_internal.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
lib.register_lints.rs Auto merge of #9288 - lukaslueg:partialeqnone, r=Jarcho 2022-08-09 00:12:29 +00:00
lib.register_nursery.rs Move significant_drop_in_scrutinee into nursey 2022-08-07 21:01:27 -04:00
lib.register_pedantic.rs Add elapsed_instant lint 2022-08-01 23:39:00 +02:00
lib.register_perf.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
lib.register_restriction.rs move [assertions_on_result_states] to restriction 2022-08-02 10:13:51 +02:00
lib.register_style.rs Add partialeq_to_none lint 2022-08-08 20:17:13 +02:00
lib.register_suspicious.rs Move significant_drop_in_scrutinee into nursey 2022-08-07 21:01:27 -04:00
lib.rs Add partialeq_to_none lint 2022-08-08 20:17:13 +02:00
lifetimes.rs Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup 2022-07-28 19:08:22 +02:00
literal_representation.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
macro_use.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
main_recursion.rs Merge 'rust-clippy/master' into clippyup 2022-05-21 13:24:00 +02:00
manual_assert.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
manual_async_fn.rs Replace LifetimeRes::Anonymous by LifetimeRes::Infer. 2022-07-26 19:00:31 +02:00
manual_bits.rs Merge 'rust-clippy/master' into clippyup 2022-05-21 13:24:00 +02:00
manual_instant_elapsed.rs Add elapsed_instant lint 2022-08-01 23:39:00 +02:00
manual_non_exhaustive.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
manual_ok_or.rs use slice match more often 2022-08-02 18:12:31 +08:00
manual_rem_euclid.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
manual_retain.rs Fix clippy build 2022-07-12 21:00:14 +04:00
manual_strip.rs Merge 'rust-clippy/master' into clippyup 2022-05-21 13:24:00 +02:00
map_clone.rs Fix clippy build 2022-07-12 21:00:14 +04:00
map_err_ignore.rs use slice match more often 2022-08-02 18:12:31 +08:00
map_unit_fn.rs simplify unit type check 2022-08-02 17:56:20 +08:00
match_result_ok.rs Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup 2022-05-05 15:12:52 +01:00
mem_forget.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
mem_replace.rs use slice match more often 2022-08-02 18:12:31 +08:00
minmax.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
misc.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
mismatching_type_param_order.rs Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup 2022-07-28 19:08:22 +02:00
missing_const_for_fn.rs Use check_proc_macro for missing_const_for_fn 2022-08-09 03:41:59 +02:00
missing_doc.rs Merge remote-tracking branch 'upstream/master' into rustup 2022-08-11 19:26:04 +02:00
missing_enforced_import_rename.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
missing_inline.rs Remove DefId from AssocItemContainer. 2022-08-01 21:38:45 +02:00
mixed_read_write_in_expression.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
module_style.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
mut_key.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
mut_mut.rs Fix Visitor::NestedFilter in Clippy 2022-01-16 16:02:36 -06:00
mut_mutex_lock.rs Overhaul TyS and Ty. 2022-02-15 16:03:24 +11:00
mut_reference.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
mutable_debug_assertion.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
mutex_atomic.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
needless_arbitrary_self_type.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
needless_bool.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
needless_borrowed_ref.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
needless_continue.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
needless_for_each.rs Fix clippy build 2022-07-12 21:00:14 +04:00
needless_late_init.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
needless_parens_on_range_literals.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
needless_pass_by_value.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
needless_question_mark.rs remove TyS::same_type 2022-02-01 11:21:26 +01:00
needless_update.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
neg_cmp_op_on_partial_ord.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
neg_multiply.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
new_without_default.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
no_effect.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
non_copy_const.rs Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup 2022-07-28 19:08:22 +02:00
non_expressive_names.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
non_octal_unix_permissions.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
non_send_fields_in_send_ty.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
nonstandard_macro_braces.rs Remove unnecessary sigils around Symbol::as_str() calls. 2021-12-15 17:32:14 +11:00
octal_escapes.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
only_used_in_recursion.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
open_options.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
option_env_unwrap.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
option_if_let_else.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
overflow_check_conditional.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
panic_in_result_fn.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
panic_unimplemented.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
partialeq_ne_impl.rs update clippy 2022-05-10 12:07:35 +02:00
partialeq_to_none.rs Add partialeq_to_none lint 2022-08-08 20:17:13 +02:00
pass_by_ref_or_value.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
path_buf_push_overwrite.rs use slice match more often 2022-08-02 18:12:31 +08:00
pattern_type_mismatch.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
precedence.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
ptr.rs Replace LifetimeRes::Anonymous by LifetimeRes::Infer. 2022-07-26 19:00:31 +02:00
ptr_offset_with_cast.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
pub_use.rs Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup 2022-05-05 15:12:52 +01:00
question_mark.rs use slice match more often 2022-08-02 18:12:31 +08:00
ranges.rs use slice match more often 2022-08-02 18:12:31 +08:00
rc_clone_in_vec_init.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
read_zero_byte_vec.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
redundant_clone.rs Move predecessors from Body to BasicBlocks 2022-07-07 08:11:49 +02:00
redundant_closure_call.rs Fix suggestion for async in redundant_closure_call 2022-07-15 15:49:04 +01:00
redundant_else.rs Update clippy 2022-01-23 19:31:32 +08:00
redundant_field_names.rs Merge 'rust-clippy/master' into clippyup 2022-05-21 13:24:00 +02:00
redundant_pub_crate.rs Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup 2022-05-05 15:12:52 +01:00
redundant_slicing.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
redundant_static_lifetimes.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
ref_option_ref.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
reference.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
regex.rs use slice match more often 2022-08-02 18:12:31 +08:00
renamed_lints.rs Rename logic_bug to overly_complex_bool_expr 2022-08-08 18:38:39 +02:00
repeat_once.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
return_self_not_must_use.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
returns.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
same_name_method.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
self_named_constructors.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
semicolon_if_nothing_returned.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
serde_api.rs Box HIR Generics and Impl. 2022-04-30 13:51:49 +02:00
shadow.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
single_char_lifetime_names.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
single_component_path_imports.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
size_of_in_element_count.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
slow_vector_initialization.rs use slice match more often 2022-08-02 18:12:31 +08:00
stable_sort_primitive.rs use slice match more often 2022-08-02 18:12:31 +08:00
std_instead_of_core.rs Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup 2022-07-28 19:08:22 +02:00
strings.rs Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup 2022-07-28 19:08:22 +02:00
strlen_on_c_strings.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
suspicious_operation_groupings.rs Fix clippy build 2022-07-12 21:00:14 +04:00
suspicious_trait_impl.rs Fix Visitor::NestedFilter in Clippy 2022-01-16 16:02:36 -06:00
swap.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
swap_ptr_to_ref.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
tabs_in_doc_comments.rs Merge 'rust-clippy/master' into clippyup 2022-05-21 13:24:00 +02:00
temporary_assignment.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
to_digit_is_some.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
trailing_empty_array.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
trait_bounds.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
transmuting_null.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
undocumented_unsafe_blocks.rs Shrink Token. 2022-08-01 08:53:04 +10:00
unicode.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
uninit_vec.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
unit_hash.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
unit_return_expecting_ord.rs Fix clippy build 2022-07-12 21:00:14 +04:00
unnamed_address.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
unnecessary_owned_empty_strings.rs Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup 2022-05-05 15:12:52 +01:00
unnecessary_self_imports.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
unnecessary_sort_by.rs Fix clippy build 2022-07-12 21:00:14 +04:00
unnecessary_wraps.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
unnested_or_patterns.rs Merge 'rust-clippy/master' into clippyup 2022-05-21 13:24:00 +02:00
unsafe_removed_from_name.rs Merge commit '0eff589afc83e21a03a168497bbab6b4dfbb4ef6' into clippyup 2021-12-30 15:10:43 +01:00
unused_async.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
unused_io_amount.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
unused_rounding.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
unused_self.rs Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup 2022-07-28 19:08:22 +02:00
unused_unit.rs Merge 'rust-clippy/master' into clippyup 2022-05-21 13:24:00 +02:00
unwrap.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
unwrap_in_result.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
upper_case_acronyms.rs fix typos 2022-03-15 02:00:08 +01:00
use_self.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
useless_conversion.rs use slice match more often 2022-08-02 18:12:31 +08:00
vec.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
vec_init_then_push.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
vec_resize_to_zero.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
verbose_file_reads.rs use slice match more often 2022-08-02 18:12:31 +08:00
wildcard_imports.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
write.rs Always include a position span in rustc_parse_format::Argument 2022-07-31 15:11:33 +00:00
zero_div_zero.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
zero_sized_map_values.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00