rust/clippy_lints/src
bors 0c42e451d6 Auto merge of #11791 - Jacherr:iter_over_hash_type, r=Jarcho
Implement new lint `iter_over_hash_type`

Implements and fixes https://github.com/rust-lang/rust-clippy/issues/11788

This PR adds a new *restriction* lint `iter_over_hash_type` which prevents `Hash`-types (that is, `HashSet` and `HashMap`) from being used as the iterator in `for` loops.

The justification for this is because in `Hash`-based types, the ordering of items is not guaranteed and may vary between executions of the same program on the same hardware. In addition, it reduces readability due to the unclear iteration order.

The implementation of this lint also ensures the following:
- Calls to `HashMap::keys`, `HashMap::values`, and `HashSet::iter` are also denied when used in `for` loops,
- When this expression is used in procedural macros, it is not linted/denied.

changelog: add new `iter_over_hash_type` lint to prevent unordered iterations through hashed data structures
2023-11-14 15:55:00 +00:00
..
cargo Clean up after if chain removal 2023-11-10 18:03:13 +00:00
casts Clean up after if chain removal 2023-11-10 18:03:13 +00:00
functions Clean up after if chain removal 2023-11-10 18:03:13 +00:00
loops fix: reduce [manual_memcpy] indexing when array length is same to loop range 2023-11-14 22:05:44 +09:00
matches Clean up after if chain removal 2023-11-10 18:03:13 +00:00
methods Auto merge of #11767 - matthri:unnecessary-fallible-conversions-ext-notes, r=blyxyas 2023-11-11 22:51:27 +00:00
misc_early Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
operators Clean up after if chain removal 2023-11-10 18:03:13 +00:00
transmute Clean up after if chain removal 2023-11-10 18:03:13 +00:00
types Clean up after if chain removal 2023-11-10 18:03:13 +00:00
unit_types Clean up after if chain removal 2023-11-10 18:03:13 +00:00
utils Clean up after if chain removal 2023-11-10 18:03:13 +00:00
absolute_paths.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
allow_attributes.rs Run if-to-let-chain clippy*/**/*.rs 2023-11-10 17:29:28 +00:00
almost_complete_range.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
approx_const.rs Move configuration to new clippy_config crate 2023-10-23 20:05:10 +00:00
arc_with_non_send_sync.rs [arc_with_non_send_sync] Improve suggested resolution 2023-11-08 19:38:59 +01:00
as_conversions.rs Merge commit '37f4c1725d' into clippyup 2023-07-02 14:59:02 +02:00
asm_syntax.rs Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00
assertions_on_constants.rs Merge commit 'd9c24d1b1e' into clippyup 2023-07-17 10:22:32 +02:00
assertions_on_result_states.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
async_yields_async.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
attrs.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
await_holding_invalid.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
blocks_in_if_conditions.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
bool_assert_comparison.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
bool_to_int_with_if.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
booleans.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
borrow_deref_ref.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
box_default.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
checked_conversions.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
cognitive_complexity.rs Use local key in providers 2023-03-21 15:38:51 +00:00
collapsible_if.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
collection_is_never_read.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
comparison_chain.rs Merge commit '4f142aa105' into clippyup 2022-10-23 15:18:45 +02:00
copies.rs Merge commit 'd9c24d1b1e' into clippyup 2023-07-17 10:22:32 +02:00
copy_iterator.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
crate_in_macro_def.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
create_dir.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
dbg_macro.rs Fix dbg_macro semi span calculation 2023-11-01 16:25:15 +00:00
declared_lints.rs Auto merge of #11791 - Jacherr:iter_over_hash_type, r=Jarcho 2023-11-14 15:55:00 +00:00
default.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
default_constructed_unit_structs.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
default_instead_of_iter_empty.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
default_numeric_fallback.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
default_union_representation.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
deprecated_lints.rs Merge commit '0cb0f76368' into clippyup 2022-06-30 10:50:09 +02:00
dereference.rs Auto merge of #11508 - Jarcho:issue_11474, r=blyxyas 2023-11-12 11:24:01 +00:00
derivable_impls.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
derive.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
disallowed_macros.rs Move configuration to new clippy_config crate 2023-10-23 20:05:10 +00:00
disallowed_methods.rs Move configuration to new clippy_config crate 2023-10-23 20:05:10 +00:00
disallowed_names.rs Destructure Conf in register_lints 2023-11-10 23:47:52 +00:00
disallowed_script_idents.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
disallowed_types.rs Move configuration to new clippy_config crate 2023-10-23 20:05:10 +00:00
doc.rs move suspicious_doc_comments to doc pass 2023-11-13 13:44:00 +01:00
double_parens.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
drop_forget_ref.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
duplicate_mod.rs Revert "Dogfood missing_assert_message on Clippy" 2023-03-08 08:51:50 +00:00
else_if_without_else.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
empty_drop.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
empty_enum.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
empty_structs_with_brackets.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
endian_bytes.rs Run if-to-let-chain clippy*/**/*.rs 2023-11-10 17:29:28 +00:00
entry.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
enum_clike.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
equatable_if_let.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
error_impl_error.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
escape.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
eta_reduction.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
excessive_bools.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
excessive_nesting.rs Merge commit '080b587854' into clippyup 2023-08-24 21:32:12 +02:00
exhaustive_items.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
exit.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
explicit_write.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
extra_unused_type_parameters.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
fallible_impl_from.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
float_literal.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
floating_point_arithmetic.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
format.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
format_args.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
format_impl.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
format_push_string.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
formatting.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
four_forward_slashes.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
from_over_into.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
from_raw_with_void_ptr.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
from_str_radix_10.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
future_not_send.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
if_let_mutex.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
if_not_else.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
if_then_some_else_none.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
ignored_unit_patterns.rs Auto merge of #11670 - lengyijun:ignored_unit_pattern_ref, r=dswij 2023-10-25 18:02:33 +00:00
implicit_hasher.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
implicit_return.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
implicit_saturating_add.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
implicit_saturating_sub.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
implied_bounds_in_impls.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
inconsistent_struct_constructor.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
index_refutable_slice.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
indexing_slicing.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
infinite_iter.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
inherent_impl.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
inherent_to_string.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
init_numbered_fields.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
inline_fn_without_body.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
instant_subtraction.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
int_plus_one.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
invalid_upcast_comparisons.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
item_name_repetitions.rs fix enum_variant_names depending lint depending on order 2023-10-29 17:34:11 +01:00
items_after_statements.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
items_after_test_module.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
iter_not_returning_iterator.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
iter_over_hash_type.rs run cargo dev fmt 2023-11-11 21:29:09 +00:00
iter_without_into_iter.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
large_const_arrays.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
large_enum_variant.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
large_futures.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
large_include_file.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
large_stack_arrays.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
large_stack_frames.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
len_zero.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
let_if_seq.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
let_underscore.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
let_with_type_underscore.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
lib.deprecated.rs
lib.rs Auto merge of #11791 - Jacherr:iter_over_hash_type, r=Jarcho 2023-11-14 15:55:00 +00:00
lifetimes.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
lines_filter_map_ok.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
literal_representation.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
macro_use.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
main_recursion.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
manual_assert.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
manual_async_fn.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
manual_bits.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
manual_clamp.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
manual_float_methods.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
manual_hash_one.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
manual_is_ascii_check.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
manual_let_else.rs Change divergence checking to match the compiler's type system based definition of divergence. 2023-11-09 17:57:06 -05:00
manual_main_separator_str.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
manual_non_exhaustive.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
manual_range_patterns.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
manual_rem_euclid.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
manual_retain.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
manual_slice_size_calculation.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
manual_string_new.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
manual_strip.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
map_unit_fn.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
match_result_ok.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
mem_replace.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
min_ident_chars.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
minmax.rs Merge commit '37f4c1725d' into clippyup 2023-07-02 14:59:02 +02:00
misc.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
mismatching_type_param_order.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
missing_assert_message.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
missing_asserts_for_indexing.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
missing_const_for_fn.rs Move configuration to new clippy_config crate 2023-10-23 20:05:10 +00:00
missing_doc.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
missing_enforced_import_rename.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
missing_fields_in_debug.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
missing_inline.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
missing_trait_methods.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
mixed_read_write_in_expression.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
module_style.rs [mod_module_files] Don't emit lint for modules in tests 2023-11-08 22:42:12 +01:00
multi_assignments.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
multiple_unsafe_ops_per_block.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
mut_key.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
mut_mut.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
mut_reference.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
mutable_debug_assertion.rs Merge commit 'd9c24d1b1e' into clippyup 2023-07-17 10:22:32 +02:00
mutex_atomic.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
needless_arbitrary_self_type.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
needless_bool.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
needless_borrowed_ref.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
needless_borrows_for_generic_args.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
needless_continue.rs Run if-to-let-chain clippy*/**/*.rs 2023-11-10 17:29:28 +00:00
needless_else.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
needless_for_each.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
needless_if.rs Merge commit 'd9c24d1b1e' into clippyup 2023-07-17 10:22:32 +02:00
needless_late_init.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
needless_parens_on_range_literals.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
needless_pass_by_ref_mut.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
needless_pass_by_value.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
needless_question_mark.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
needless_update.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
neg_cmp_op_on_partial_ord.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
neg_multiply.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
new_without_default.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
no_effect.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
no_mangle_with_rust_abi.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
non_canonical_impls.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
non_copy_const.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
non_expressive_names.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
non_octal_unix_permissions.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
non_send_fields_in_send_ty.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
nonstandard_macro_braces.rs Destructure Conf in register_lints 2023-11-10 23:47:52 +00:00
octal_escapes.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
only_used_in_recursion.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
option_env_unwrap.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
option_if_let_else.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
overflow_check_conditional.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
panic_in_result_fn.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
panic_unimplemented.rs Expand docs on clippy::todo 2023-10-27 10:22:41 -07:00
partial_pub_fields.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
partialeq_ne_impl.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
partialeq_to_none.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
pass_by_ref_or_value.rs Destructure Conf in register_lints 2023-11-10 23:47:52 +00:00
pattern_type_mismatch.rs Take a LocalDefId in hir::Visitor::visit_fn. 2023-01-28 09:51:50 +00:00
permissions_set_readonly_false.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
precedence.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
ptr.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
ptr_offset_with_cast.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
pub_use.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
question_mark.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
question_mark_used.rs Move scrutinee HirId into MatchSource::TryDesugar 2023-08-14 21:43:56 +00:00
ranges.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
raw_strings.rs Destructure Conf in register_lints 2023-11-10 23:47:52 +00:00
rc_clone_in_vec_init.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
read_zero_byte_vec.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
redundant_async_block.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
redundant_clone.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
redundant_closure_call.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
redundant_else.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
redundant_field_names.rs Move configuration to new clippy_config crate 2023-10-23 20:05:10 +00:00
redundant_locals.rs Run if-to-let-chain clippy*/**/*.rs 2023-11-10 17:29:28 +00:00
redundant_pub_crate.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
redundant_slicing.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
redundant_static_lifetimes.rs Move configuration to new clippy_config crate 2023-10-23 20:05:10 +00:00
redundant_type_annotations.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
ref_option_ref.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
ref_patterns.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
reference.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
regex.rs Run if-to-let-chain clippy*/**/*.rs 2023-11-10 17:29:28 +00:00
renamed_lints.rs Merge commit '98363cbf6a' into clippyup 2023-09-12 18:44:06 +02:00
reserve_after_initialization.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
return_self_not_must_use.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
returns.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
same_name_method.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
self_named_constructors.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
semicolon_block.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
semicolon_if_nothing_returned.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
serde_api.rs Box HIR Generics and Impl. 2022-04-30 13:51:49 +02:00
shadow.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
significant_drop_tightening.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
single_call_fn.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
single_char_lifetime_names.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
single_component_path_imports.rs Merge commit 'd9c24d1b1e' into clippyup 2023-07-17 10:22:32 +02:00
single_range_in_vec_init.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
size_of_in_element_count.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
size_of_ref.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
slow_vector_initialization.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
std_instead_of_core.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
strings.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
strlen_on_c_strings.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
suspicious_operation_groupings.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
suspicious_trait_impl.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
suspicious_xor_used_as_pow.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
swap.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
swap_ptr_to_ref.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
tabs_in_doc_comments.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
temporary_assignment.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
tests_outside_test_module.rs Run if-to-let-chain clippy*/**/*.rs 2023-11-10 17:29:28 +00:00
to_digit_is_some.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
trailing_empty_array.rs Run if-to-let-chain clippy*/**/*.rs 2023-11-10 17:29:28 +00:00
trait_bounds.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
tuple_array_conversions.rs Move configuration to new clippy_config crate 2023-10-23 20:05:10 +00:00
undocumented_unsafe_blocks.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
unicode.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
uninit_vec.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
unit_return_expecting_ord.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
unnamed_address.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
unnecessary_box_returns.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
unnecessary_map_on_constructor.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
unnecessary_owned_empty_strings.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
unnecessary_self_imports.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
unnecessary_struct_initialization.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
unnecessary_wraps.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
unnested_or_patterns.rs Move configuration to new clippy_config crate 2023-10-23 20:05:10 +00:00
unsafe_removed_from_name.rs rustc_ast_lowering: Stop lowering imports into multiple items 2022-12-01 18:51:20 +03:00
unused_async.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
unused_io_amount.rs Merge commit 'd9c24d1b1e' into clippyup 2023-07-17 10:22:32 +02:00
unused_peekable.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
unused_rounding.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
unused_self.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
unused_unit.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
unwrap.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
unwrap_in_result.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
upper_case_acronyms.rs Set existing doc-tests to no_run 2023-10-23 15:28:26 +00:00
use_self.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
useless_conversion.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
vec.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
vec_init_then_push.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
visibility.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
wildcard_imports.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
write.rs Format let-chains across the code base 2023-11-02 17:24:30 +01:00
zero_div_zero.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00
zero_sized_map_values.rs Clean up after if chain removal 2023-11-10 18:03:13 +00:00