rust/tests/ui
bors e5ebece910 Auto merge of #8665 - InfRandomness:option_take_on_temporary, r=llogiq
Introduce needless_option_take lint

- \[x] Followed [lint naming conventions][lint_naming]
- \[x] Added passing UI tests (including committed `.stderr` file)
- \[x] `cargo test` passes locally
- \[x] Executed `cargo dev update_lints`
- \[x] Added lint documentation
- \[x] Run `cargo dev fmt`

Fixes #8618

changelog: Introduce [`needless_option_take`] lint
2022-04-17 18:34:16 +00:00
..
author
auxiliary adding spell checking 2022-04-15 14:18:09 -07:00
borrow_interior_mutable_const
branches_sharing_code
checked_unwrap
cmp_owned
crashes Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
crate_level_checks Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
declare_interior_mutable_const
doc
index_refutable_slice
manual_memcpy resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
missing_const_for_fn Update and fix clippy tests 2022-03-07 08:47:18 -08:00
needless_bool
out_of_bounds_indexing
pattern_type_mismatch
should_impl_trait
size_of_in_element_count
absurd-extreme-comparisons.rs
absurd-extreme-comparisons.stderr
allow_attributes_without_reason.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
allow_attributes_without_reason.stderr Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
approx_const.rs
approx_const.stderr
as_conversions.rs
as_conversions.stderr
asm_syntax.rs
asm_syntax.stderr
assertions_on_constants.rs assertions_on_constants: ignore indirect cfg! 2022-04-13 22:47:08 -06:00
assertions_on_constants.stderr
assign_ops2.rs
assign_ops2.stderr
assign_ops.fixed
assign_ops.rs
assign_ops.stderr
async_yields_async.fixed
async_yields_async.rs
async_yields_async.stderr
attrs.rs
attrs.stderr
author.rs
author.stdout
await_holding_lock.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
await_holding_lock.stderr Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
await_holding_refcell_ref.rs
await_holding_refcell_ref.stderr Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
bind_instead_of_map_multipart.rs
bind_instead_of_map_multipart.stderr
bind_instead_of_map.fixed
bind_instead_of_map.rs
bind_instead_of_map.stderr
bit_masks.rs
bit_masks.stderr
blacklisted_name.rs
blacklisted_name.stderr
blanket_clippy_restriction_lints.rs
blanket_clippy_restriction_lints.stderr
blocks_in_if_conditions_closure.rs
blocks_in_if_conditions_closure.stderr
blocks_in_if_conditions.fixed
blocks_in_if_conditions.rs
blocks_in_if_conditions.stderr
bool_assert_comparison.rs
bool_assert_comparison.stderr
bool_comparison.fixed
bool_comparison.rs
bool_comparison.stderr
borrow_as_ptr_no_std.fixed
borrow_as_ptr_no_std.rs
borrow_as_ptr_no_std.stderr
borrow_as_ptr.fixed
borrow_as_ptr.rs
borrow_as_ptr.stderr
borrow_box.rs
borrow_box.stderr
box_collection.rs
box_collection.stderr
builtin_type_shadow.rs
builtin_type_shadow.stderr
bytecount.rs
bytecount.stderr
bytes_nth.fixed add #[must_use] to functions of slice and its iterators. 2022-03-26 15:37:48 +01:00
bytes_nth.rs add #[must_use] to functions of slice and its iterators. 2022-03-26 15:37:48 +01:00
bytes_nth.stderr Merge remote-tracking branch 'upstream/master' into rustup 2022-04-07 15:44:37 +01:00
case_sensitive_file_extension_comparisons.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
case_sensitive_file_extension_comparisons.stderr
cast_abs_to_unsigned.fixed new lint cast_abs_to_unsigned 2022-04-07 11:28:14 +02:00
cast_abs_to_unsigned.rs new lint cast_abs_to_unsigned 2022-04-07 11:28:14 +02:00
cast_abs_to_unsigned.stderr new lint cast_abs_to_unsigned 2022-04-07 11:28:14 +02:00
cast_alignment.rs Allow more complex expressions in let_unit_value 2022-04-14 21:34:33 -04:00
cast_alignment.stderr Don't lint cast_ptr_alignment when used for unaligned reads and writes 2022-04-04 13:54:52 -04:00
cast_enum_constructor.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
cast_enum_constructor.stderr Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
cast_lossless_bool.fixed
cast_lossless_bool.rs
cast_lossless_bool.stderr
cast_lossless_float.fixed
cast_lossless_float.rs
cast_lossless_float.stderr
cast_lossless_integer.fixed
cast_lossless_integer.rs
cast_lossless_integer.stderr
cast_ref_to_mut.rs
cast_ref_to_mut.stderr
cast_size_32bit.rs
cast_size_32bit.stderr
cast_size.rs
cast_size.stderr
cast_slice_different_sizes.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
cast_slice_different_sizes.stderr Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
cast.rs Fix subtraction overflow in cast_possible_truncation 2022-04-11 18:54:44 +01:00
cast.stderr Fix subtraction overflow in cast_possible_truncation 2022-04-11 18:54:44 +01:00
cfg_attr_rustfmt.fixed
cfg_attr_rustfmt.rs
cfg_attr_rustfmt.stderr
char_lit_as_u8_suggestions.fixed
char_lit_as_u8_suggestions.rs
char_lit_as_u8_suggestions.stderr
char_lit_as_u8.rs
char_lit_as_u8.stderr
checked_conversions.fixed
checked_conversions.rs
checked_conversions.stderr
clone_on_copy_impl.rs
clone_on_copy.fixed
clone_on_copy.rs
clone_on_copy.stderr
cloned_instead_of_copied.fixed
cloned_instead_of_copied.rs
cloned_instead_of_copied.stderr
cmp_nan.rs
cmp_nan.stderr
cmp_null.rs
cmp_null.stderr
cognitive_complexity_attr_used.rs
cognitive_complexity_attr_used.stderr
cognitive_complexity.rs
cognitive_complexity.stderr
collapsible_else_if.fixed
collapsible_else_if.rs
collapsible_else_if.stderr
collapsible_if.fixed
collapsible_if.rs
collapsible_if.stderr
collapsible_match2.rs
collapsible_match2.stderr
collapsible_match.rs
collapsible_match.stderr
comparison_chain.rs
comparison_chain.stderr
comparison_to_empty.fixed
comparison_to_empty.rs
comparison_to_empty.stderr
copy_iterator.rs
copy_iterator.stderr
crate_in_macro_def.fixed Address review comments 2022-03-28 04:48:12 -04:00
crate_in_macro_def.rs Address review comments 2022-03-28 04:48:12 -04:00
crate_in_macro_def.stderr Fix error message in crate_in_macro_def.stderr 2022-03-30 12:52:31 -04:00
create_dir.fixed
create_dir.rs
create_dir.stderr
dbg_macro.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
dbg_macro.stderr Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
debug_assert_with_mut_call.rs
debug_assert_with_mut_call.stderr
decimal_literal_representation.fixed
decimal_literal_representation.rs
decimal_literal_representation.stderr
def_id_nocore.rs
def_id_nocore.stderr
default_numeric_fallback_f64.fixed Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
default_numeric_fallback_f64.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
default_numeric_fallback_f64.stderr Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
default_numeric_fallback_i32.fixed Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
default_numeric_fallback_i32.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
default_numeric_fallback_i32.stderr Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
default_trait_access.fixed Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
default_trait_access.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
default_trait_access.stderr
default_union_representation.rs
default_union_representation.stderr
deprecated_old.rs
deprecated_old.stderr
deprecated.rs
deprecated.stderr
deref_addrof_double_trigger.rs
deref_addrof_double_trigger.stderr
deref_addrof_macro.rs
deref_addrof.fixed
deref_addrof.rs
deref_addrof.stderr
deref_by_slicing.fixed Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
deref_by_slicing.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
deref_by_slicing.stderr Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
derivable_impls.rs
derivable_impls.stderr
derive_hash_xor_eq.rs
derive_hash_xor_eq.stderr
derive_ord_xor_partial_ord.rs
derive_ord_xor_partial_ord.stderr
derive.rs
derive.stderr
disallowed_script_idents.rs
disallowed_script_idents.stderr
diverging_sub_expression.rs
diverging_sub_expression.stderr
doc_errors.rs
doc_errors.stderr
doc_unsafe.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
doc_unsafe.stderr Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
double_comparison.fixed
double_comparison.rs
double_comparison.stderr
double_must_use.rs
double_must_use.stderr
double_neg.rs
double_neg.stderr
double_parens.rs
double_parens.stderr
drop_forget_copy.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
drop_forget_copy.stderr Add lints drop_non_drop and forget_non_drop 2022-04-04 12:30:09 -04:00
drop_non_drop.rs Add lints drop_non_drop and forget_non_drop 2022-04-04 12:30:09 -04:00
drop_non_drop.stderr fix typo 2022-04-10 01:07:01 +08:00
drop_ref.rs Add lints drop_non_drop and forget_non_drop 2022-04-04 12:30:09 -04:00
drop_ref.stderr
duplicate_underscore_argument.rs
duplicate_underscore_argument.stderr
duration_subsec.fixed
duration_subsec.rs
duration_subsec.stderr
else_if_without_else.rs
else_if_without_else.stderr
empty_enum_without_never_type.rs
empty_enum.rs
empty_enum.stderr
empty_line_after_outer_attribute.rs
empty_line_after_outer_attribute.stderr
empty_loop_no_std.rs
empty_loop_no_std.stderr
empty_loop.rs
empty_loop.stderr
empty_structs_with_brackets.fixed unit_like_struct_brackets -> empty_structs_with_brackets 2022-03-30 20:13:16 +02:00
empty_structs_with_brackets.rs unit_like_struct_brackets -> empty_structs_with_brackets 2022-03-30 20:13:16 +02:00
empty_structs_with_brackets.stderr unit_like_struct_brackets -> empty_structs_with_brackets 2022-03-30 20:13:16 +02:00
entry_btree.fixed
entry_btree.rs
entry_btree.stderr
entry_with_else.fixed
entry_with_else.rs
entry_with_else.stderr
entry.fixed
entry.rs
entry.stderr
enum_clike_unportable_variant.rs
enum_clike_unportable_variant.stderr
enum_glob_use.fixed
enum_glob_use.rs
enum_glob_use.stderr
enum_variants.rs
enum_variants.stderr
eprint_with_newline.rs
eprint_with_newline.stderr
eq_op_macros.rs
eq_op_macros.stderr
eq_op.rs
eq_op.stderr
equatable_if_let.fixed
equatable_if_let.rs
equatable_if_let.stderr
erasing_op.rs
erasing_op.stderr
err_expect.fixed Add .err().expect() lint 2022-04-06 19:25:58 +02:00
err_expect.rs Add .err().expect() lint 2022-04-06 19:25:58 +02:00
err_expect.stderr Add .err().expect() lint 2022-04-06 19:25:58 +02:00
escape_analysis.rs
escape_analysis.stderr
eta.fixed Check for loops/closures in local_used_after_expr 2022-04-10 14:26:44 +01:00
eta.rs Check for loops/closures in local_used_after_expr 2022-04-10 14:26:44 +01:00
eta.stderr Check for loops/closures in local_used_after_expr 2022-04-10 14:26:44 +01:00
eval_order_dependence.rs
eval_order_dependence.stderr
excessive_precision.fixed
excessive_precision.rs
excessive_precision.stderr
exhaustive_items.fixed
exhaustive_items.rs
exhaustive_items.stderr
exit1.rs
exit1.stderr
exit2.rs
exit2.stderr
exit3.rs
expect_fun_call.fixed
expect_fun_call.rs
expect_fun_call.stderr
expect.rs
expect.stderr
explicit_counter_loop.rs
explicit_counter_loop.stderr
explicit_deref_methods.fixed
explicit_deref_methods.rs
explicit_deref_methods.stderr
explicit_write.fixed
explicit_write.rs
explicit_write.stderr
extend_with_drain.fixed Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
extend_with_drain.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
extend_with_drain.stderr
extra_unused_lifetimes.rs
extra_unused_lifetimes.stderr
fallible_impl_from.rs
fallible_impl_from.stderr
field_reassign_with_default.rs
field_reassign_with_default.stderr
filetype_is_file.rs
filetype_is_file.stderr
filter_map_identity.fixed
filter_map_identity.rs
filter_map_identity.stderr
filter_map_next_fixable.fixed
filter_map_next_fixable.rs
filter_map_next_fixable.stderr
filter_map_next.rs
filter_map_next.stderr
find_map.rs
flat_map_identity.fixed
flat_map_identity.rs
flat_map_identity.stderr
flat_map_option.fixed
flat_map_option.rs
flat_map_option.stderr
float_arithmetic.rs
float_arithmetic.stderr
float_cmp_const.rs
float_cmp_const.stderr
float_cmp.rs
float_cmp.stderr
float_equality_without_abs.rs
float_equality_without_abs.stderr
floating_point_abs.fixed
floating_point_abs.rs
floating_point_abs.stderr
floating_point_exp.fixed
floating_point_exp.rs
floating_point_exp.stderr
floating_point_hypot.fixed
floating_point_hypot.rs
floating_point_hypot.stderr
floating_point_log.fixed
floating_point_log.rs
floating_point_log.stderr
floating_point_logbase.fixed
floating_point_logbase.rs
floating_point_logbase.stderr
floating_point_mul_add.fixed
floating_point_mul_add.rs
floating_point_mul_add.stderr
floating_point_powf.fixed
floating_point_powf.rs
floating_point_powf.stderr
floating_point_powi.fixed
floating_point_powi.rs
floating_point_powi.stderr
floating_point_rad.fixed
floating_point_rad.rs
floating_point_rad.stderr
fn_address_comparisons.rs
fn_address_comparisons.stderr
fn_params_excessive_bools.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
fn_params_excessive_bools.stderr
fn_to_numeric_cast_32bit.rs
fn_to_numeric_cast_32bit.stderr
fn_to_numeric_cast_any.rs
fn_to_numeric_cast_any.stderr
fn_to_numeric_cast.rs
fn_to_numeric_cast.stderr
for_kv_map.rs
for_kv_map.stderr
for_loop_fixable.fixed
for_loop_fixable.rs
for_loop_fixable.stderr
for_loop_unfixable.rs
for_loop_unfixable.stderr
for_loops_over_fallibles.rs
for_loops_over_fallibles.stderr
forget_non_drop.rs Add lints drop_non_drop and forget_non_drop 2022-04-04 12:30:09 -04:00
forget_non_drop.stderr Add lints drop_non_drop and forget_non_drop 2022-04-04 12:30:09 -04:00
forget_ref.rs Add lints drop_non_drop and forget_non_drop 2022-04-04 12:30:09 -04:00
forget_ref.stderr
format_args_unfixable.rs
format_args_unfixable.stderr
format_args.fixed
format_args.rs
format_args.stderr
format_push_string.rs New lint format_add_strings 2022-04-13 22:48:36 -06:00
format_push_string.stderr New lint format_add_strings 2022-04-13 22:48:36 -06:00
format.fixed
format.rs
format.stderr
formatting.rs
formatting.stderr
from_iter_instead_of_collect.fixed
from_iter_instead_of_collect.rs
from_iter_instead_of_collect.stderr
from_over_into.rs
from_over_into.stderr
from_str_radix_10.rs
from_str_radix_10.stderr
functions_maxlines.rs
functions_maxlines.stderr
functions.rs
functions.stderr
future_not_send.rs
future_not_send.stderr
get_last_with_len.fixed
get_last_with_len.rs
get_last_with_len.stderr
get_unwrap.fixed
get_unwrap.rs
get_unwrap.stderr
identity_op.rs New lint format_add_strings 2022-04-13 22:48:36 -06:00
identity_op.stderr New lint format_add_strings 2022-04-13 22:48:36 -06:00
if_let_mutex.rs
if_let_mutex.stderr
if_not_else.rs
if_not_else.stderr
if_same_then_else2.rs
if_same_then_else2.stderr
if_same_then_else.rs
if_same_then_else.stderr
if_then_some_else_none.rs
if_then_some_else_none.stderr
ifs_same_cond.rs
ifs_same_cond.stderr
impl.rs
impl.stderr
implicit_clone.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
implicit_clone.stderr
implicit_hasher.rs
implicit_hasher.stderr
implicit_return.fixed
implicit_return.rs
implicit_return.stderr
implicit_saturating_sub.fixed
implicit_saturating_sub.rs
implicit_saturating_sub.stderr
inconsistent_digit_grouping.fixed
inconsistent_digit_grouping.rs
inconsistent_digit_grouping.stderr
inconsistent_struct_constructor.fixed
inconsistent_struct_constructor.rs
inconsistent_struct_constructor.stderr
indexing_slicing_index.rs fix indexing_slicing with const 2022-03-25 23:05:38 -06:00
indexing_slicing_index.stderr fix indexing_slicing with const 2022-03-25 23:05:38 -06:00
indexing_slicing_slice.rs
indexing_slicing_slice.stderr
inefficient_to_string.fixed
inefficient_to_string.rs
inefficient_to_string.stderr
infallible_destructuring_match.fixed
infallible_destructuring_match.rs
infallible_destructuring_match.stderr
infinite_iter.rs
infinite_iter.stderr
infinite_loop.rs
infinite_loop.stderr
inherent_to_string.rs
inherent_to_string.stderr
inline_fn_without_body.fixed
inline_fn_without_body.rs
inline_fn_without_body.stderr
inspect_for_each.rs
inspect_for_each.stderr
int_plus_one.fixed
int_plus_one.rs
int_plus_one.stderr
integer_arithmetic.rs
integer_arithmetic.stderr
integer_division.rs
integer_division.stderr
into_iter_on_ref.fixed
into_iter_on_ref.rs
into_iter_on_ref.stderr
invalid_null_ptr_usage.fixed
invalid_null_ptr_usage.rs
invalid_null_ptr_usage.stderr
invalid_upcast_comparisons.rs
invalid_upcast_comparisons.stderr
is_digit_ascii_radix.fixed New lint is_digit_ascii_radix 2022-04-07 14:14:30 -06:00
is_digit_ascii_radix.rs New lint is_digit_ascii_radix 2022-04-07 14:14:30 -06:00
is_digit_ascii_radix.stderr New lint is_digit_ascii_radix 2022-04-07 14:14:30 -06:00
issue_2356.rs
issue_2356.stderr
issue_4266.rs
issue_4266.stderr
issue-3145.rs
issue-3145.stderr
issue-7447.rs
issue-7447.stderr
item_after_statement.rs
item_after_statement.stderr
iter_cloned_collect.fixed
iter_cloned_collect.rs
iter_cloned_collect.stderr
iter_count.fixed
iter_count.rs
iter_count.stderr
iter_next_slice.fixed add #[must_use] to functions of slice and its iterators. 2022-03-26 15:37:48 +01:00
iter_next_slice.rs add #[must_use] to functions of slice and its iterators. 2022-03-26 15:37:48 +01:00
iter_next_slice.stderr add #[must_use] to functions of slice and its iterators. 2022-03-26 16:19:47 +01:00
iter_not_returning_iterator.rs
iter_not_returning_iterator.stderr
iter_nth_zero.fixed fix existing clippy tests 2022-03-30 20:12:58 +02:00
iter_nth_zero.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
iter_nth_zero.stderr
iter_nth.rs
iter_nth.stderr
iter_overeager_cloned.fixed Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
iter_overeager_cloned.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
iter_overeager_cloned.stderr Fix ICE for iter_overeager_cloned 2022-03-29 21:51:37 +09:00
iter_skip_next_unfixable.rs
iter_skip_next_unfixable.stderr
iter_skip_next.fixed
iter_skip_next.rs
iter_skip_next.stderr
iter_with_drain.fixed Don't lint iter_with_drain on references 2022-04-08 23:41:50 -04:00
iter_with_drain.rs Don't lint iter_with_drain on references 2022-04-08 23:41:50 -04:00
iter_with_drain.stderr Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
iterator_step_by_zero.rs
iterator_step_by_zero.stderr
large_const_arrays.fixed
large_const_arrays.rs
large_const_arrays.stderr
large_digit_groups.fixed
large_digit_groups.rs
large_digit_groups.stderr
large_enum_variant.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
large_enum_variant.stderr Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
large_stack_arrays.rs
large_stack_arrays.stderr
large_types_passed_by_value.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
large_types_passed_by_value.stderr
len_without_is_empty.rs
len_without_is_empty.stderr
len_zero_ranges.fixed
len_zero_ranges.rs
len_zero_ranges.stderr
len_zero.fixed
len_zero.rs
len_zero.stderr
let_and_return.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
let_and_return.stderr
let_if_seq.rs
let_if_seq.stderr
let_underscore_drop.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
let_underscore_drop.stderr Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
let_underscore_lock.rs
let_underscore_lock.stderr
let_underscore_must_use.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
let_underscore_must_use.stderr
let_unit.fixed Allow more complex expressions in let_unit_value 2022-04-14 21:34:33 -04:00
let_unit.rs Allow more complex expressions in let_unit_value 2022-04-14 21:34:33 -04:00
let_unit.stderr Allow more complex expressions in let_unit_value 2022-04-14 21:34:33 -04:00
linkedlist.rs
linkedlist.stderr
literals.rs
literals.stderr
logic_bug.rs
logic_bug.stderr
lossy_float_literal.fixed
lossy_float_literal.rs
lossy_float_literal.stderr
macro_use_imports.fixed Update clippy tests 2022-02-24 22:55:40 +03:00
macro_use_imports.rs
macro_use_imports.stderr Update clippy tests 2022-02-24 22:55:40 +03:00
manual_assert.edition2018.fixed
manual_assert.edition2018.stderr
manual_assert.edition2021.fixed
manual_assert.edition2021.stderr
manual_assert.fixed
manual_assert.rs
manual_async_fn.fixed fix existing clippy tests 2022-03-30 20:12:58 +02:00
manual_async_fn.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
manual_async_fn.stderr Revert "Auto merge of #91403 - cjgillot:inherit-async, r=oli-obk" 2022-02-17 16:00:04 +00:00
manual_bits.fixed Add usize cast to clippy::manual_bits suggestion 2022-04-13 19:31:24 +02:00
manual_bits.rs Add usize cast to clippy::manual_bits suggestion 2022-04-13 19:31:24 +02:00
manual_bits.stderr Add usize cast to clippy::manual_bits suggestion 2022-04-13 19:31:24 +02:00
manual_filter_map.fixed
manual_filter_map.rs
manual_filter_map.stderr
manual_find_map.fixed
manual_find_map.rs
manual_find_map.stderr
manual_flatten.rs
manual_flatten.stderr
manual_map_option_2.fixed
manual_map_option_2.rs
manual_map_option_2.stderr
manual_map_option.fixed Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
manual_map_option.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
manual_map_option.stderr
manual_non_exhaustive_enum.rs Don't lint manual_non_exhaustive when the enum variant is used 2022-04-06 10:12:30 -04:00
manual_non_exhaustive_enum.stderr Don't lint manual_non_exhaustive when the enum variant is used 2022-04-06 10:12:30 -04:00
manual_non_exhaustive_struct.rs Don't lint manual_non_exhaustive when the enum variant is used 2022-04-06 10:12:30 -04:00
manual_non_exhaustive_struct.stderr Don't lint manual_non_exhaustive when the enum variant is used 2022-04-06 10:12:30 -04:00
manual_ok_or.fixed
manual_ok_or.rs
manual_ok_or.stderr
manual_saturating_arithmetic.fixed
manual_saturating_arithmetic.rs
manual_saturating_arithmetic.stderr
manual_split_once.fixed Auto merge of #8631 - Alexendoo:splitn-overlap, r=xFrednet 2022-04-10 17:45:19 +00:00
manual_split_once.rs Auto merge of #8631 - Alexendoo:splitn-overlap, r=xFrednet 2022-04-10 17:45:19 +00:00
manual_split_once.stderr Remove overlap between manual_split_once and needless_splitn 2022-04-10 17:05:07 +01:00
manual_str_repeat.fixed
manual_str_repeat.rs
manual_str_repeat.stderr
manual_strip.rs
manual_strip.stderr
manual_unwrap_or.fixed fix existing clippy tests 2022-03-30 20:12:58 +02:00
manual_unwrap_or.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
manual_unwrap_or.stderr
many_single_char_names.rs
many_single_char_names.stderr
map_clone.fixed
map_clone.rs
map_clone.stderr
map_collect_result_unit.fixed
map_collect_result_unit.rs
map_collect_result_unit.stderr
map_err.rs
map_err.stderr
map_flatten_fixable.fixed Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
map_flatten_fixable.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
map_flatten_fixable.stderr Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
map_flatten.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
map_flatten.stderr Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
map_identity.fixed map_identity Add tests for needless .map_err 2022-03-01 13:11:40 +08:00
map_identity.rs map_identity Add tests for needless .map_err 2022-03-01 13:11:40 +08:00
map_identity.stderr map_identity Add tests for needless .map_err 2022-03-01 13:11:40 +08:00
map_unit_fn.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
map_unwrap_or_fixable.fixed
map_unwrap_or_fixable.rs
map_unwrap_or_fixable.stderr
map_unwrap_or.rs
map_unwrap_or.stderr
match_as_ref.fixed Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
match_as_ref.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
match_as_ref.stderr
match_bool.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
match_bool.stderr
match_expr_like_matches_macro.fixed Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
match_expr_like_matches_macro.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
match_expr_like_matches_macro.stderr
match_on_vec_items.rs
match_on_vec_items.stderr
match_overlapping_arm.rs
match_overlapping_arm.stderr
match_ref_pats.rs
match_ref_pats.stderr
match_result_ok.fixed
match_result_ok.rs
match_result_ok.stderr
match_same_arms2.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
match_same_arms2.stderr Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
match_same_arms.rs
match_same_arms.stderr Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
match_single_binding2.fixed
match_single_binding2.rs
match_single_binding2.stderr
match_single_binding.fixed Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
match_single_binding.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
match_single_binding.stderr Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
match_str_case_mismatch.rs
match_str_case_mismatch.stderr
match_wild_err_arm.edition2018.stderr
match_wild_err_arm.edition2021.stderr
match_wild_err_arm.rs
match_wildcard_for_single_variants.fixed
match_wildcard_for_single_variants.rs
match_wildcard_for_single_variants.stderr
mem_forget.rs
mem_forget.stderr
mem_replace_macro.rs
mem_replace_macro.stderr
mem_replace.fixed
mem_replace.rs
mem_replace.stderr
methods_fixable.fixed
methods_fixable.rs
methods_fixable.stderr
methods.rs
methods.stderr
min_max.rs
min_max.stderr
min_rust_version_attr.rs new lint cast_abs_to_unsigned 2022-04-07 11:28:14 +02:00
min_rust_version_attr.stderr new lint cast_abs_to_unsigned 2022-04-07 11:28:14 +02:00
min_rust_version_invalid_attr.rs
min_rust_version_invalid_attr.stderr
min_rust_version_multiple_inner_attr.rs
min_rust_version_multiple_inner_attr.stderr
min_rust_version_no_patch.rs
min_rust_version_outer_attr.rs
min_rust_version_outer_attr.stderr
mismatched_target_os_non_unix.fixed
mismatched_target_os_non_unix.rs
mismatched_target_os_non_unix.stderr
mismatched_target_os_unix.fixed
mismatched_target_os_unix.rs
mismatched_target_os_unix.stderr
missing_inline_executable.rs
missing_inline_proc_macro.rs
missing_inline.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
missing_inline.stderr
missing_panics_doc.rs
missing_panics_doc.stderr
missing_spin_loop_no_std.fixed Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
missing_spin_loop_no_std.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
missing_spin_loop_no_std.stderr Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
missing_spin_loop.fixed Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
missing_spin_loop.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
missing_spin_loop.stderr Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
missing-doc-crate-missing.rs
missing-doc-crate-missing.stderr
missing-doc-crate.rs
missing-doc-impl.rs
missing-doc-impl.stderr
missing-doc.rs
missing-doc.stderr
mistyped_literal_suffix.fixed
mistyped_literal_suffix.rs
mistyped_literal_suffix.stderr
module_inception.rs
module_inception.stderr
module_name_repetitions.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
module_name_repetitions.stderr fix uitests 2022-03-30 20:12:58 +02:00
modulo_arithmetic_float.rs
modulo_arithmetic_float.stderr
modulo_arithmetic_integral_const.rs Check if lhs < rhs in modulos and emit 2022-03-11 16:02:49 +08:00
modulo_arithmetic_integral_const.stderr Check if lhs < rhs in modulos and emit 2022-03-11 16:02:49 +08:00
modulo_arithmetic_integral.rs
modulo_arithmetic_integral.stderr
modulo_one.rs
modulo_one.stderr bless clippy 2022-03-02 19:20:27 -05:00
must_use_candidates.fixed
must_use_candidates.rs
must_use_candidates.stderr
must_use_unit.fixed
must_use_unit.rs
must_use_unit.stderr
mut_from_ref.rs Only lint mut_from_ref when unsafe code is used 2022-04-06 10:59:57 -04:00
mut_from_ref.stderr Only lint mut_from_ref when unsafe code is used 2022-04-06 10:59:57 -04:00
mut_key.rs
mut_key.stderr
mut_mut.rs
mut_mut.stderr
mut_mutex_lock.fixed
mut_mutex_lock.rs
mut_mutex_lock.stderr
mut_range_bound.rs
mut_range_bound.stderr
mut_reference.rs
mut_reference.stderr
mutex_atomic.rs
mutex_atomic.stderr
needless_arbitrary_self_type_unfixable.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
needless_arbitrary_self_type_unfixable.stderr
needless_arbitrary_self_type.fixed
needless_arbitrary_self_type.rs
needless_arbitrary_self_type.stderr
needless_bitwise_bool.fixed
needless_bitwise_bool.rs
needless_bitwise_bool.stderr
needless_borrow_pat.rs
needless_borrow_pat.stderr
needless_borrow.fixed
needless_borrow.rs
needless_borrow.stderr
needless_borrowed_ref.fixed
needless_borrowed_ref.rs
needless_borrowed_ref.stderr
needless_collect_indirect.rs
needless_collect_indirect.stderr
needless_collect.fixed
needless_collect.rs
needless_collect.stderr
needless_continue.rs
needless_continue.stderr
needless_doc_main.rs
needless_doc_main.stderr
needless_for_each_fixable.fixed Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
needless_for_each_fixable.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
needless_for_each_fixable.stderr Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
needless_for_each_unfixable.rs
needless_for_each_unfixable.stderr
needless_late_init_fixable.fixed
needless_late_init_fixable.rs
needless_late_init_fixable.stderr initialization misspell 2022-04-15 14:19:00 -07:00
needless_late_init.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
needless_late_init.stderr initialization misspell 2022-04-15 14:19:00 -07:00
needless_lifetimes.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
needless_lifetimes.stderr Revert "Auto merge of #91403 - cjgillot:inherit-async, r=oli-obk" 2022-02-17 16:00:04 +00:00
needless_match.fixed improve parent expr check 2022-03-29 15:23:19 +08:00
needless_match.rs improve parent expr check 2022-03-29 15:23:19 +08:00
needless_match.stderr fix #8551, add test cases, and some code improvement 2022-03-17 23:06:31 +08:00
needless_option_as_deref.fixed Check for loops/closures in local_used_after_expr 2022-04-10 14:26:44 +01:00
needless_option_as_deref.rs Check for loops/closures in local_used_after_expr 2022-04-10 14:26:44 +01:00
needless_option_as_deref.stderr Fix as_deref_mut false positives in needless_option_as_deref 2022-04-07 12:39:21 +01:00
needless_option_take.fixed Introduce option_take_on_temporary lints 2022-04-14 12:41:47 +02:00
needless_option_take.rs Add tests and docs 2022-04-14 13:16:46 +02:00
needless_option_take.stderr Introduce option_take_on_temporary lints 2022-04-14 12:41:47 +02:00
needless_pass_by_value_proc_macro.rs
needless_pass_by_value.rs
needless_pass_by_value.stderr
needless_question_mark.fixed
needless_question_mark.rs
needless_question_mark.stderr
needless_range_loop2.rs
needless_range_loop2.stderr
needless_range_loop.rs
needless_range_loop.stderr
needless_return.fixed
needless_return.rs
needless_return.stderr
needless_splitn.fixed Remove overlap between manual_split_once and needless_splitn 2022-04-10 17:05:07 +01:00
needless_splitn.rs Remove overlap between manual_split_once and needless_splitn 2022-04-10 17:05:07 +01:00
needless_splitn.stderr Remove overlap between manual_split_once and needless_splitn 2022-04-10 17:05:07 +01:00
needless_update.rs
needless_update.stderr
neg_cmp_op_on_partial_ord.rs
neg_cmp_op_on_partial_ord.stderr
neg_multiply.fixed
neg_multiply.rs
neg_multiply.stderr
never_loop.rs
never_loop.stderr
new_ret_no_self.rs
new_ret_no_self.stderr
new_without_default.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
new_without_default.stderr Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
no_effect.rs style -> pedantic 2022-03-30 20:13:16 +02:00
no_effect.stderr style -> pedantic 2022-03-30 20:13:16 +02:00
non_expressive_names.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
non_expressive_names.stderr
non_octal_unix_permissions.fixed
non_octal_unix_permissions.rs
non_octal_unix_permissions.stderr
non_send_fields_in_send_ty.rs
non_send_fields_in_send_ty.stderr
nonminimal_bool_methods.rs
nonminimal_bool_methods.stderr
nonminimal_bool.rs
nonminimal_bool.stderr
numbered_fields.fixed
numbered_fields.rs
numbered_fields.stderr
octal_escapes.rs
octal_escapes.stderr
ok_expect.rs
ok_expect.stderr
only_used_in_recursion.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
only_used_in_recursion.stderr Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
op_ref.rs
op_ref.stderr
open_options.rs
open_options.stderr
option_as_ref_deref.fixed
option_as_ref_deref.rs
option_as_ref_deref.stderr
option_env_unwrap.rs
option_env_unwrap.stderr
option_filter_map.fixed
option_filter_map.rs
option_filter_map.stderr
option_if_let_else.fixed Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
option_if_let_else.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
option_if_let_else.stderr Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
option_map_or_none.fixed
option_map_or_none.rs
option_map_or_none.stderr
option_map_unit_fn_fixable.fixed Provide suggestion context in map_unit_fn 2022-03-25 20:47:54 +00:00
option_map_unit_fn_fixable.rs Provide suggestion context in map_unit_fn 2022-03-25 20:47:54 +00:00
option_map_unit_fn_fixable.stderr Provide suggestion context in map_unit_fn 2022-03-25 20:47:54 +00:00
option_map_unit_fn_unfixable.rs
option_map_unit_fn_unfixable.stderr
option_option.rs
option_option.stderr
option_take_on_temporary.fixed Add tests and docs 2022-04-14 13:16:46 +02:00
or_fun_call.fixed
or_fun_call.rs
or_fun_call.stderr
or_then_unwrap.fixed Allow more complex expressions in let_unit_value 2022-04-14 21:34:33 -04:00
or_then_unwrap.rs Allow more complex expressions in let_unit_value 2022-04-14 21:34:33 -04:00
or_then_unwrap.stderr Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
overflow_check_conditional.rs
overflow_check_conditional.stderr
panic_in_result_fn_assertions.rs
panic_in_result_fn_assertions.stderr
panic_in_result_fn_debug_assertions.rs
panic_in_result_fn.rs
panic_in_result_fn.stderr
panicking_macros.rs Allow more complex expressions in let_unit_value 2022-04-14 21:34:33 -04:00
panicking_macros.stderr Do not fire panic in a constant environment 2022-03-26 15:39:21 -03:00
partialeq_ne_impl.rs
partialeq_ne_impl.stderr
path_buf_push_overwrite.fixed
path_buf_push_overwrite.rs
path_buf_push_overwrite.stderr
patterns.fixed
patterns.rs
patterns.stderr
precedence.fixed
precedence.rs
precedence.stderr
print_in_format_impl.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
print_in_format_impl.stderr Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
print_literal.rs
print_literal.stderr
print_stderr.rs
print_stderr.stderr
print_stdout_build_script.rs
print_with_newline.rs
print_with_newline.stderr
print.rs
print.stderr
println_empty_string.fixed
println_empty_string.rs
println_empty_string.stderr
proc_macro.rs
proc_macro.stderr
ptr_arg.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
ptr_arg.stderr
ptr_as_ptr.fixed Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
ptr_as_ptr.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
ptr_as_ptr.stderr Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
ptr_eq.fixed
ptr_eq.rs
ptr_eq.stderr
ptr_offset_with_cast.fixed
ptr_offset_with_cast.rs
ptr_offset_with_cast.stderr
pub_use.rs pub_use 2022-04-13 13:48:27 +02:00
pub_use.stderr pub_use 2022-04-13 13:48:27 +02:00
question_mark.fixed
question_mark.rs
question_mark.stderr
range_contains.fixed
range_contains.rs
range_contains.stderr
range_plus_minus_one.fixed Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
range_plus_minus_one.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
range_plus_minus_one.stderr
range.rs
range.stderr
rc_buffer_arc.rs
rc_buffer_arc.stderr
rc_buffer_redefined_string.rs
rc_buffer.rs
rc_buffer.stderr
rc_mutex.rs
rc_mutex.stderr
recursive_format_impl.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
recursive_format_impl.stderr Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
redundant_allocation_fixable.fixed fix existing clippy tests 2022-03-30 20:12:58 +02:00
redundant_allocation_fixable.rs fix uitests 2022-03-30 20:12:58 +02:00
redundant_allocation_fixable.stderr
redundant_allocation.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
redundant_allocation.stderr
redundant_clone.fixed Add lints drop_non_drop and forget_non_drop 2022-04-04 12:30:09 -04:00
redundant_clone.rs Add lints drop_non_drop and forget_non_drop 2022-04-04 12:30:09 -04:00
redundant_clone.stderr
redundant_closure_call_early.rs
redundant_closure_call_early.stderr
redundant_closure_call_fixable.fixed
redundant_closure_call_fixable.rs
redundant_closure_call_fixable.stderr
redundant_closure_call_late.rs
redundant_closure_call_late.stderr
redundant_else.rs
redundant_else.stderr
redundant_field_names.fixed
redundant_field_names.rs
redundant_field_names.stderr
redundant_pattern_matching_drop_order.fixed
redundant_pattern_matching_drop_order.rs
redundant_pattern_matching_drop_order.stderr
redundant_pattern_matching_ipaddr.fixed
redundant_pattern_matching_ipaddr.rs
redundant_pattern_matching_ipaddr.stderr
redundant_pattern_matching_option.fixed
redundant_pattern_matching_option.rs
redundant_pattern_matching_option.stderr
redundant_pattern_matching_poll.fixed
redundant_pattern_matching_poll.rs
redundant_pattern_matching_poll.stderr
redundant_pattern_matching_result.fixed
redundant_pattern_matching_result.rs
redundant_pattern_matching_result.stderr
redundant_pub_crate.fixed
redundant_pub_crate.rs
redundant_pub_crate.stderr
redundant_slicing.fixed Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
redundant_slicing.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
redundant_slicing.stderr Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
redundant_static_lifetimes_multiple.rs
redundant_static_lifetimes_multiple.stderr
redundant_static_lifetimes.fixed fix existing clippy tests 2022-03-30 20:12:58 +02:00
redundant_static_lifetimes.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
redundant_static_lifetimes.stderr
ref_binding_to_reference.rs
ref_binding_to_reference.stderr
ref_option_ref.rs
ref_option_ref.stderr
regex.rs
regex.stderr
rename.fixed Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
rename.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
rename.stderr Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
renamed_builtin_attr.fixed
renamed_builtin_attr.rs
renamed_builtin_attr.stderr
repeat_once.fixed
repeat_once.rs
repeat_once.stderr
repl_uninit.rs
repl_uninit.stderr
rest_pat_in_fully_bound_structs.rs Do not apply rest_pat_in_fully_bound_structs on #[non_exhaustive] structs 2022-04-11 22:47:04 -05:00
rest_pat_in_fully_bound_structs.stderr
result_map_or_into_option.fixed
result_map_or_into_option.rs
result_map_or_into_option.stderr
result_map_unit_fn_fixable.fixed Provide suggestion context in map_unit_fn 2022-03-25 20:47:54 +00:00
result_map_unit_fn_fixable.rs Provide suggestion context in map_unit_fn 2022-03-25 20:47:54 +00:00
result_map_unit_fn_fixable.stderr Provide suggestion context in map_unit_fn 2022-03-25 20:47:54 +00:00
result_map_unit_fn_unfixable.rs
result_map_unit_fn_unfixable.stderr
result_unit_error.rs
result_unit_error.stderr
return_self_not_must_use.rs
return_self_not_must_use.stderr
reversed_empty_ranges_fixable.fixed
reversed_empty_ranges_fixable.rs
reversed_empty_ranges_fixable.stderr
reversed_empty_ranges_loops_fixable.fixed
reversed_empty_ranges_loops_fixable.rs
reversed_empty_ranges_loops_fixable.stderr
reversed_empty_ranges_loops_unfixable.rs
reversed_empty_ranges_loops_unfixable.stderr
reversed_empty_ranges_unfixable.rs
reversed_empty_ranges_unfixable.stderr
same_functions_in_if_condition.rs Compare inline constants by their bodies rather than value in SpanlessEq 2022-04-10 00:54:41 -04:00
same_functions_in_if_condition.stderr Compare inline constants by their bodies rather than value in SpanlessEq 2022-04-10 00:54:41 -04:00
same_item_push.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
same_item_push.stderr
same_name_method.rs
same_name_method.stderr
search_is_some_fixable_none.fixed
search_is_some_fixable_none.rs
search_is_some_fixable_none.stderr
search_is_some_fixable_some.fixed
search_is_some_fixable_some.rs
search_is_some_fixable_some.stderr
search_is_some.rs
search_is_some.stderr
self_assignment.rs
self_assignment.stderr
self_named_constructors.rs
self_named_constructors.stderr
semicolon_if_nothing_returned.rs
semicolon_if_nothing_returned.stderr
serde.rs
serde.stderr
shadow.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
shadow.stderr Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
short_circuit_statement.fixed
short_circuit_statement.rs
short_circuit_statement.stderr
similar_names.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
similar_names.stderr Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
single_char_add_str.fixed
single_char_add_str.rs
single_char_add_str.stderr
single_char_lifetime_names.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
single_char_lifetime_names.stderr Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
single_char_pattern.fixed
single_char_pattern.rs
single_char_pattern.stderr
single_component_path_imports_macro.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
single_component_path_imports_nested_first.rs
single_component_path_imports_nested_first.stderr
single_component_path_imports_self_after.rs
single_component_path_imports_self_before.rs
single_component_path_imports.fixed
single_component_path_imports.rs
single_component_path_imports.stderr
single_element_loop.fixed single_element_loop: handle arrays for Edition2021 2022-04-01 00:04:19 -06:00
single_element_loop.rs single_element_loop: handle arrays for Edition2021 2022-04-01 00:04:19 -06:00
single_element_loop.stderr single_element_loop: handle arrays for Edition2021 2022-04-01 00:04:19 -06:00
single_match_else.rs Don't lint various match lints when expanded by a proc-macro 2022-04-08 16:51:40 -04:00
single_match_else.stderr Don't lint various match lints when expanded by a proc-macro 2022-04-08 16:51:40 -04:00
single_match.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
single_match.stderr
skip_while_next.rs
skip_while_next.stderr
slow_vector_initialization.rs
slow_vector_initialization.stderr
stable_sort_primitive.fixed
stable_sort_primitive.rs
stable_sort_primitive.stderr
starts_ends_with.fixed
starts_ends_with.rs
starts_ends_with.stderr
str_to_string.rs
str_to_string.stderr
string_add_assign.fixed
string_add_assign.rs
string_add_assign.stderr
string_add.rs
string_add.stderr
string_extend.fixed
string_extend.rs
string_extend.stderr
string_from_utf8_as_bytes.fixed
string_from_utf8_as_bytes.rs
string_from_utf8_as_bytes.stderr
string_lit_as_bytes.fixed
string_lit_as_bytes.rs
string_lit_as_bytes.stderr
string_slice.rs
string_slice.stderr
string_to_string.rs
string_to_string.stderr
strlen_on_c_strings.fixed
strlen_on_c_strings.rs
strlen_on_c_strings.stderr
struct_excessive_bools.rs
struct_excessive_bools.stderr
suspicious_arithmetic_impl.rs
suspicious_arithmetic_impl.stderr
suspicious_else_formatting.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
suspicious_else_formatting.stderr
suspicious_map.rs
suspicious_map.stderr
suspicious_operation_groupings.rs
suspicious_operation_groupings.stderr
suspicious_splitn.rs
suspicious_splitn.stderr
suspicious_unary_op_formatting.rs
suspicious_unary_op_formatting.stderr
swap.fixed
swap.rs
swap.stderr
tabs_in_doc_comments.fixed
tabs_in_doc_comments.rs
tabs_in_doc_comments.stderr
temporary_assignment.rs
temporary_assignment.stderr
to_digit_is_some.fixed New lint is_digit_ascii_radix 2022-04-07 14:14:30 -06:00
to_digit_is_some.rs New lint is_digit_ascii_radix 2022-04-07 14:14:30 -06:00
to_digit_is_some.stderr New lint is_digit_ascii_radix 2022-04-07 14:14:30 -06:00
toplevel_ref_arg_non_rustfix.rs
toplevel_ref_arg_non_rustfix.stderr
toplevel_ref_arg.fixed
toplevel_ref_arg.rs
toplevel_ref_arg.stderr
trailing_empty_array.rs
trailing_empty_array.stderr
trailing_zeros.rs
trailing_zeros.stderr
trait_duplication_in_bounds.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
trait_duplication_in_bounds.stderr
transmute_32bit.rs
transmute_32bit.stderr
transmute_64bit.rs
transmute_64bit.stderr
transmute_collection.rs Better check size and alignment requirements in unsound_collection_transmute 2022-04-06 11:57:55 -04:00
transmute_collection.stderr
transmute_float_to_int.rs
transmute_float_to_int.stderr
transmute_ptr_to_ptr.rs
transmute_ptr_to_ptr.stderr
transmute_ptr_to_ref.rs
transmute_ptr_to_ref.stderr
transmute_undefined_repr.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
transmute_undefined_repr.stderr Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
transmute.rs Suggest from_utf8_unchecked in const contexts 2022-03-30 21:49:13 +01:00
transmute.stderr Don't unnecessarily suggest unsafe block 2022-04-01 06:32:22 +01:00
transmutes_expressible_as_ptr_casts.fixed Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
transmutes_expressible_as_ptr_casts.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
transmutes_expressible_as_ptr_casts.stderr Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
transmuting_null.rs
transmuting_null.stderr
trivially_copy_pass_by_ref.rs
trivially_copy_pass_by_ref.stderr
try_err.fixed
try_err.rs
try_err.stderr
ty_fn_sig.rs
type_complexity.rs
type_complexity.stderr
type_repetition_in_bounds.rs
type_repetition_in_bounds.stderr
types.fixed
types.rs
types.stderr
undocumented_unsafe_blocks.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
undocumented_unsafe_blocks.stderr Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
undropped_manually_drops.rs
undropped_manually_drops.stderr
unicode.rs
unicode.stderr
uninit_vec.rs
uninit_vec.stderr
uninit.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
uninit.stderr Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
unit_arg_empty_blocks.rs
unit_arg_empty_blocks.stderr
unit_arg.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
unit_arg.stderr Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
unit_cmp.rs
unit_cmp.stderr
unit_hash.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
unit_hash.stderr Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
unit_return_expecting_ord.rs
unit_return_expecting_ord.stderr
unknown_attribute.rs
unknown_attribute.stderr
unknown_clippy_lints.fixed
unknown_clippy_lints.rs
unknown_clippy_lints.stderr
unnecessary_cast_fixable.fixed First submit 2022-03-28 12:09:01 +08:00
unnecessary_cast_fixable.rs First submit 2022-03-28 12:09:01 +08:00
unnecessary_cast_fixable.stderr
unnecessary_cast.rs First submit 2022-03-28 12:09:01 +08:00
unnecessary_cast.stderr
unnecessary_clone.rs
unnecessary_clone.stderr
unnecessary_filter_map.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
unnecessary_filter_map.stderr Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
unnecessary_find_map.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
unnecessary_find_map.stderr Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
unnecessary_fold.fixed
unnecessary_fold.rs
unnecessary_fold.stderr
unnecessary_iter_cloned.fixed
unnecessary_iter_cloned.rs
unnecessary_iter_cloned.stderr
unnecessary_join.fixed Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
unnecessary_join.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
unnecessary_join.stderr Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
unnecessary_lazy_eval_unfixable.rs
unnecessary_lazy_eval_unfixable.stderr Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
unnecessary_lazy_eval.fixed Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
unnecessary_lazy_eval.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
unnecessary_lazy_eval.stderr Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
unnecessary_operation.fixed
unnecessary_operation.rs
unnecessary_operation.stderr
unnecessary_owned_empty_strings.fixed unnecessary_owned_empty_string -> unnecessary_owned_empty_strings 2022-04-11 13:05:42 +02:00
unnecessary_owned_empty_strings.rs unnecessary_owned_empty_string -> unnecessary_owned_empty_strings 2022-04-11 13:05:42 +02:00
unnecessary_owned_empty_strings.stderr unnecessary_owned_empty_string -> unnecessary_owned_empty_strings 2022-04-11 13:05:42 +02:00
unnecessary_self_imports.fixed
unnecessary_self_imports.rs
unnecessary_self_imports.stderr
unnecessary_sort_by.fixed Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
unnecessary_sort_by.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
unnecessary_sort_by.stderr Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
unnecessary_to_owned.fixed fix unnecessary_to_owned about msrv 2022-04-12 22:59:25 +09:00
unnecessary_to_owned.rs fix unnecessary_to_owned about msrv 2022-04-12 22:59:25 +09:00
unnecessary_to_owned.stderr fix unnecessary_to_owned about msrv 2022-04-12 22:59:25 +09:00
unnecessary_wraps.rs
unnecessary_wraps.stderr
unneeded_field_pattern.rs
unneeded_field_pattern.stderr
unneeded_wildcard_pattern.fixed
unneeded_wildcard_pattern.rs
unneeded_wildcard_pattern.stderr
unnested_or_patterns2.fixed
unnested_or_patterns2.rs
unnested_or_patterns2.stderr
unnested_or_patterns.fixed ignore &x | &y in unnested_or_patterns 2022-04-01 22:36:30 -06:00
unnested_or_patterns.rs ignore &x | &y in unnested_or_patterns 2022-04-01 22:36:30 -06:00
unnested_or_patterns.stderr ignore &x | &y in unnested_or_patterns 2022-04-01 22:36:30 -06:00
unreadable_literal.fixed
unreadable_literal.rs
unreadable_literal.stderr
unsafe_derive_deserialize.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
unsafe_derive_deserialize.stderr
unsafe_removed_from_name.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
unsafe_removed_from_name.stderr
unseparated_prefix_literals.fixed
unseparated_prefix_literals.rs
unseparated_prefix_literals.stderr
unused_async.rs
unused_async.stderr
unused_io_amount.rs
unused_io_amount.stderr
unused_self.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
unused_self.stderr
unused_unit.fixed
unused_unit.rs
unused_unit.stderr
unwrap_in_result.rs
unwrap_in_result.stderr
unwrap_or_else_default.fixed
unwrap_or_else_default.rs
unwrap_or_else_default.stderr
unwrap_or.rs
unwrap_or.stderr
unwrap.rs
unwrap.stderr
update-all-references.sh
upper_case_acronyms.rs
upper_case_acronyms.stderr
use_self_trait.fixed
use_self_trait.rs
use_self_trait.stderr
use_self.fixed fix existing clippy tests 2022-03-30 20:12:58 +02:00
use_self.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
use_self.stderr Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
used_underscore_binding.rs
used_underscore_binding.stderr
useful_asref.rs
useless_asref.fixed
useless_asref.rs
useless_asref.stderr
useless_attribute.fixed fix existing clippy tests 2022-03-30 20:12:58 +02:00
useless_attribute.rs fix existing clippy tests 2022-03-30 20:12:58 +02:00
useless_attribute.stderr
useless_conversion_try.rs
useless_conversion_try.stderr
useless_conversion.fixed
useless_conversion.rs
useless_conversion.stderr
vec_box_sized.fixed
vec_box_sized.rs
vec_box_sized.stderr
vec_init_then_push.rs
vec_init_then_push.stderr
vec_resize_to_zero.rs
vec_resize_to_zero.stderr
vec.fixed
vec.rs
vec.stderr
verbose_file_reads.rs
verbose_file_reads.stderr
vtable_address_comparisons.rs
vtable_address_comparisons.stderr
while_let_loop.rs
while_let_loop.stderr
while_let_on_iterator.fixed
while_let_on_iterator.rs
while_let_on_iterator.stderr
wild_in_or_pats.rs
wild_in_or_pats.stderr
wildcard_enum_match_arm.fixed
wildcard_enum_match_arm.rs
wildcard_enum_match_arm.stderr
wildcard_imports.fixed Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
wildcard_imports.rs Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
wildcard_imports.stderr Move let_unit_value back into style 2022-04-14 21:33:32 -04:00
write_literal_2.rs
write_literal_2.stderr
write_literal.rs
write_literal.stderr
write_with_newline.rs
write_with_newline.stderr
writeln_empty_string.fixed
writeln_empty_string.rs
writeln_empty_string.stderr
wrong_self_convention2.rs
wrong_self_convention2.stderr
wrong_self_convention.rs
wrong_self_convention.stderr
wrong_self_conventions_mut.rs
wrong_self_conventions_mut.stderr
zero_div_zero.rs
zero_div_zero.stderr
zero_offset.rs
zero_offset.stderr
zero_ptr.fixed
zero_ptr.rs
zero_ptr.stderr
zero_sized_btreemap_values.rs
zero_sized_btreemap_values.stderr
zero_sized_hashmap_values.rs
zero_sized_hashmap_values.stderr