rust/clippy_lints/src
bors 073f9d9080 Auto merge of #13116 - tesuji:fix_zero_repeat_side_effects, r=y21
Lint `zero_repeat_side_effects`  only if array length is a literal zero

changelog: [`zero_repeat_side_effects` ] Lint only if array length is a literal zero
Fixes #13110 .
r? y21
2024-07-18 11:56:13 +00:00
..
attrs Refactor for using config values: 2024-07-17 14:05:49 -04:00
cargo Refactor for using config values: 2024-07-17 14:05:49 -04:00
casts Refactor for using config values: 2024-07-17 14:05:49 -04:00
doc Refactor for using config values: 2024-07-17 14:05:49 -04:00
functions Refactor for using config values: 2024-07-17 14:05:49 -04:00
loops Refactor for using config values: 2024-07-17 14:05:49 -04:00
matches Refactor for using config values: 2024-07-17 14:05:49 -04:00
methods Refactor for using config values: 2024-07-17 14:05:49 -04:00
misc_early Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
operators Refactor for using config values: 2024-07-17 14:05:49 -04:00
transmute Refactor for using config values: 2024-07-17 14:05:49 -04:00
types Refactor for using config values: 2024-07-17 14:05:49 -04:00
unit_types Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
utils Refactor for using config values: 2024-07-17 14:05:49 -04:00
absolute_paths.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
almost_complete_range.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
approx_const.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
arc_with_non_send_sync.rs Merge commit '68a799aea9b65e2444fbecfe32217ce7d5a3604f' into clippy-subtree-update 2024-06-27 18:56:04 +02:00
as_conversions.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
asm_syntax.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
assertions_on_constants.rs Ignore non ExprKind::{Path,Lit) inside const context 2024-06-08 18:44:40 +07:00
assertions_on_result_states.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
assigning_clones.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
async_yields_async.rs
await_holding_invalid.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
blocks_in_conditions.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
bool_assert_comparison.rs Split out IntoIterator and non-Iterator constructors for AliasTy/AliasTerm/TraitRef/projection 2024-06-24 11:28:21 -04:00
bool_to_int_with_if.rs Refactor bool_to_int_with_if: 2024-07-04 21:52:46 -04:00
booleans.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
borrow_deref_ref.rs
box_default.rs Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update 2024-05-02 17:26:44 +02:00
byte_char_slices.rs New Lint: byte_char_slices 2024-07-04 14:31:15 +02:00
cfg_not_test.rs feat: add cfg_not_test lint 2024-07-05 10:28:26 +02:00
checked_conversions.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
cognitive_complexity.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
collapsible_if.rs
collection_is_never_read.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
comparison_chain.rs
copies.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
copy_iterator.rs
crate_in_macro_def.rs Rename ModSep to PathSep 2024-04-04 19:44:04 +02:00
create_dir.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
dbg_macro.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
declared_lints.rs Auto merge of #12944 - Jarcho:overflow_check, r=y21 2024-07-10 09:02:11 +00:00
default_constructed_unit_structs.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
default_instead_of_iter_empty.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
default_numeric_fallback.rs Auto merge of #12840 - tesuji:const-asserts, r=llogiq 2024-07-01 22:06:06 +00:00
default_union_representation.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
default.rs Rename any_parent_is_automatically_derived to in_automatically_derived. Only check for the attribute on an impl block. 2024-07-06 00:24:48 -04:00
deprecated_lints.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
dereference.rs Auto merge of #12976 - tesuji:fix-explicit_auto_deref, r=xFrednet 2024-07-03 18:24:23 +00:00
derivable_impls.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
derive.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
disallowed_macros.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
disallowed_methods.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
disallowed_names.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
disallowed_script_idents.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
disallowed_types.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
double_parens.rs
drop_forget_ref.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
duplicate_mod.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
else_if_without_else.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
empty_drop.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
empty_enum.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
empty_with_brackets.rs chore: remove duplicate words 2024-07-02 11:25:31 +08:00
endian_bytes.rs Fix doc nits 2024-06-23 13:11:54 +01:00
entry.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
enum_clike.rs
equatable_if_let.rs Implement macro-based deref!() syntax for deref patterns 2024-03-21 11:42:49 -04:00
error_impl_error.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
escape.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
eta_reduction.rs Move trait selection error reporting to its own top-level module 2024-07-08 16:04:47 -04:00
excessive_bools.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
excessive_nesting.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
exhaustive_items.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
exit.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
explicit_write.rs Merge commit '2efebd2f0c03dabbe5c3ad7b4ebfbd99238d1fb2' into clippy-subtree-update 2024-05-21 10:39:30 -07:00
extra_unused_type_parameters.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
fallible_impl_from.rs
field_scoped_visibility_modifiers.rs Merge commit '68a799aea9b65e2444fbecfe32217ce7d5a3604f' into clippy-subtree-update 2024-06-27 18:56:04 +02:00
float_literal.rs Resolve Clippy f16 and f128 unimplemented!/FIXMEs 2024-06-19 13:30:21 -04:00
floating_point_arithmetic.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
format_args.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
format_impl.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
format_push_string.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
format.rs Merge commit '2efebd2f0c03dabbe5c3ad7b4ebfbd99238d1fb2' into clippy-subtree-update 2024-05-21 10:39:30 -07:00
formatting.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
four_forward_slashes.rs
from_over_into.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
from_raw_with_void_ptr.rs Always use ty:: qualifier for TyKind enum variants. 2024-04-16 16:29:13 +10:00
from_str_radix_10.rs Merge commit '2efebd2f0c03dabbe5c3ad7b4ebfbd99238d1fb2' into clippy-subtree-update 2024-05-21 10:39:30 -07:00
future_not_send.rs Move trait selection error reporting to its own top-level module 2024-07-08 16:04:47 -04:00
if_let_mutex.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
if_not_else.rs
if_then_some_else_none.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
ignored_unit_patterns.rs Rename hir::Node::Local into hir::Node::LetStmt 2024-03-22 20:48:36 +01:00
impl_hash_with_borrow_str_and_bytes.rs
implicit_hasher.rs Merge commit '68a799aea9b65e2444fbecfe32217ce7d5a3604f' into clippy-subtree-update 2024-06-27 18:56:04 +02:00
implicit_return.rs Merge commit '68a799aea9b65e2444fbecfe32217ce7d5a3604f' into clippy-subtree-update 2024-06-27 18:56:04 +02:00
implicit_saturating_add.rs Always use ty:: qualifier for TyKind enum variants. 2024-04-16 16:29:13 +10:00
implicit_saturating_sub.rs
implied_bounds_in_impls.rs Make queries more explicit 2024-06-27 12:03:57 -04:00
incompatible_msrv.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
inconsistent_struct_constructor.rs
index_refutable_slice.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
indexing_slicing.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
ineffective_open_options.rs
infinite_iter.rs
inherent_impl.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
inherent_to_string.rs inherent_to_string: Check HIR tree before checking for macros. 2024-07-07 16:35:05 -04:00
init_numbered_fields.rs Rework init_numbered_fields: 2024-07-07 20:15:19 -04:00
inline_fn_without_body.rs inline_fn_without_body: inline into a single function 2024-07-07 16:37:31 -04:00
instant_subtraction.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
int_plus_one.rs
integer_division_remainder_used.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
invalid_upcast_comparisons.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
item_name_repetitions.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
items_after_statements.rs items_after_statements: Do less work in the default case. 2024-07-07 16:41:36 -04:00
items_after_test_module.rs
iter_not_returning_iterator.rs iter_not_returning_iterator: 2024-07-07 16:43:07 -04:00
iter_over_hash_type.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
iter_without_into_iter.rs iter_without_into_iter: Delay macro check 2024-07-07 16:51:20 -04:00
large_const_arrays.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
large_enum_variant.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
large_futures.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
large_include_file.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
large_stack_arrays.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
large_stack_frames.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
legacy_numeric_constants.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
len_zero.rs len_zero: Check HIR tree first 2024-07-07 18:05:41 -04:00
let_if_seq.rs let_if_seq: use array_windows. 2024-07-07 18:05:51 -04:00
let_underscore.rs let_underscore: Delay macro check. 2024-07-07 18:06:00 -04:00
let_with_type_underscore.rs let_with_type_underscore: 2024-07-07 18:06:17 -04:00
lib.deprecated.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
lib.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
lifetimes.rs Merge commit 'ca3b393750ee8d870bf3215dcf6509cafa5c0445' into clippy-subtree-update 2024-04-18 17:48:52 +02:00
lines_filter_map_ok.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
literal_representation.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
macro_metavars_in_unsafe.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
macro_use.rs Remove unused structs in clippy 2024-03-10 23:33:00 +08:00
main_recursion.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
manual_assert.rs Simplify use crate::rustc_foo::bar occurrences. 2024-05-08 16:57:31 +10:00
manual_async_fn.rs Rename HIR TypeBinding to AssocItemConstraint and related cleanup 2024-05-30 22:52:33 +02:00
manual_bits.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_clamp.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_float_methods.rs manual_float_methods: 2024-07-07 18:07:16 -04:00
manual_hash_one.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_is_ascii_check.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_let_else.rs manual_let_else: Delay msrv and macro checks. 2024-07-07 18:07:36 -04:00
manual_main_separator_str.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_non_exhaustive.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_range_patterns.rs manual_range_patterns: Delay macro check. 2024-07-07 18:08:11 -04:00
manual_rem_euclid.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_retain.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_rotate.rs Implement a lint to replace bit manual rotations with rotate_left/rotate_right 2024-06-29 22:31:10 +02:00
manual_slice_size_calculation.rs manual_slice_size_calculation: Delay constant check. 2024-07-07 18:11:05 -04:00
manual_string_new.rs
manual_strip.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_unwrap_or_default.rs manual_unwrap_or_default: Check HIR tree first. 2024-07-07 18:11:55 -04:00
map_unit_fn.rs map_unit_fn: Delay macro check 2024-07-07 18:12:05 -04:00
match_result_ok.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
mem_replace.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
min_ident_chars.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
minmax.rs minmax: use let chain 2024-07-07 18:12:39 -04:00
misc.rs Rename any_parent_is_automatically_derived to in_automatically_derived. Only check for the attribute on an impl block. 2024-07-06 00:24:48 -04:00
mismatching_type_param_order.rs Rename Generics::params to Generics::own_params 2024-05-09 20:58:46 -04:00
missing_assert_message.rs Use is_in_test in more places. 2024-07-05 02:42:58 -04:00
missing_asserts_for_indexing.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
missing_const_for_fn.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
missing_const_for_thread_local.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
missing_doc.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
missing_enforced_import_rename.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
missing_fields_in_debug.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
missing_inline.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
missing_trait_methods.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
mixed_read_write_in_expression.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
module_style.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
multi_assignments.rs
multiple_bound_locations.rs Merge commit '68a799aea9b65e2444fbecfe32217ce7d5a3604f' into clippy-subtree-update 2024-06-27 18:56:04 +02:00
multiple_unsafe_ops_per_block.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
mut_key.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
mut_mut.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
mut_reference.rs Fix clippy 2024-04-15 18:48:12 -04:00
mutable_debug_assertion.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
mutex_atomic.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
needless_arbitrary_self_type.rs Rename BindingAnnotation to BindingMode 2024-04-17 09:34:39 -04:00
needless_bool.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
needless_borrowed_ref.rs Rename BindingAnnotation to BindingMode 2024-04-17 09:34:39 -04:00
needless_borrows_for_generic_args.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
needless_continue.rs Merge commit '2efebd2f0c03dabbe5c3ad7b4ebfbd99238d1fb2' into clippy-subtree-update 2024-05-21 10:39:30 -07:00
needless_else.rs Merge commit '68a799aea9b65e2444fbecfe32217ce7d5a3604f' into clippy-subtree-update 2024-06-27 18:56:04 +02:00
needless_for_each.rs Merge commit '68a799aea9b65e2444fbecfe32217ce7d5a3604f' into clippy-subtree-update 2024-06-27 18:56:04 +02:00
needless_if.rs Merge commit '68a799aea9b65e2444fbecfe32217ce7d5a3604f' into clippy-subtree-update 2024-06-27 18:56:04 +02:00
needless_late_init.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
needless_maybe_sized.rs Make queries more explicit 2024-06-27 12:03:57 -04:00
needless_parens_on_range_literals.rs
needless_pass_by_ref_mut.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
needless_pass_by_value.rs Merge commit '2efebd2f0c03dabbe5c3ad7b4ebfbd99238d1fb2' into clippy-subtree-update 2024-05-21 10:39:30 -07:00
needless_question_mark.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
needless_update.rs
neg_cmp_op_on_partial_ord.rs
neg_multiply.rs
new_without_default.rs Rename Unsafe to Safety 2024-05-17 18:33:37 -03:00
no_effect.rs Rename any_parent_is_automatically_derived to in_automatically_derived. Only check for the attribute on an impl block. 2024-07-06 00:24:48 -04:00
no_mangle_with_rust_abi.rs
non_canonical_impls.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
non_copy_const.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
non_expressive_names.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
non_octal_unix_permissions.rs Merge commit '68a799aea9b65e2444fbecfe32217ce7d5a3604f' into clippy-subtree-update 2024-06-27 18:56:04 +02:00
non_send_fields_in_send_ty.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
nonstandard_macro_braces.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
octal_escapes.rs Merge commit '68a799aea9b65e2444fbecfe32217ce7d5a3604f' into clippy-subtree-update 2024-06-27 18:56:04 +02:00
only_used_in_recursion.rs Don't require visit_body to take a lifetime that must outlive the function call 2024-05-29 10:04:08 +00:00
option_env_unwrap.rs
option_if_let_else.rs Rename BindingAnnotation to BindingMode 2024-04-17 09:34:39 -04:00
panic_in_result_fn.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
panic_unimplemented.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
panicking_overflow_checks.rs Move panicking_overflow_checks into correctness and clean up docs. 2024-07-07 10:24:46 -04:00
partial_pub_fields.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
partialeq_ne_impl.rs
partialeq_to_none.rs
pass_by_ref_or_value.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
pattern_type_mismatch.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
permissions_set_readonly_false.rs
precedence.rs
ptr_offset_with_cast.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
ptr.rs Don't require visit_body to take a lifetime that must outlive the function call 2024-05-29 10:04:08 +00:00
pub_underscore_fields.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
pub_use.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
question_mark_used.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
question_mark.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
ranges.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
raw_strings.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
rc_clone_in_vec_init.rs
read_zero_byte_vec.rs Rename hir::Local into hir::LetStmt 2024-03-22 20:36:21 +01:00
redundant_async_block.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
redundant_clone.rs
redundant_closure_call.rs Simplify use crate::rustc_foo::bar occurrences. 2024-05-08 16:57:31 +10:00
redundant_else.rs Add MatchKind member to the Match expr for pretty printing & fmt 2024-03-06 00:35:19 -05:00
redundant_field_names.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
redundant_locals.rs Rename BindingAnnotation to BindingMode 2024-04-17 09:34:39 -04:00
redundant_pub_crate.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
redundant_slicing.rs Split out IntoIterator and non-Iterator constructors for AliasTy/AliasTerm/TraitRef/projection 2024-06-24 11:28:21 -04:00
redundant_static_lifetimes.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
redundant_type_annotations.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
ref_option_ref.rs
ref_patterns.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
reference.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
regex.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
renamed_lints.rs Rename overflow_check_conditional to panicking_overflow_checks. 2024-07-07 10:24:42 -04:00
repeat_vec_with_capacity.rs Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update 2024-05-02 17:26:44 +02:00
reserve_after_initialization.rs Rename BindingAnnotation to BindingMode 2024-04-17 09:34:39 -04:00
return_self_not_must_use.rs
returns.rs needless_return: Support #[expect] on the return statement 2024-07-03 20:58:21 +02:00
same_name_method.rs Fix doc nits 2024-06-23 13:11:54 +01:00
self_named_constructors.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
semicolon_block.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
semicolon_if_nothing_returned.rs Simplify use crate::rustc_foo::bar occurrences. 2024-05-08 16:57:31 +10:00
serde_api.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
set_contains_or_insert.rs Small fix after rebase 2024-07-03 19:54:02 +01:00
shadow.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
significant_drop_tightening.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
single_call_fn.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
single_char_lifetime_names.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
single_component_path_imports.rs store the span of the nested part of the use tree in the ast 2024-04-14 18:45:28 +02:00
single_range_in_vec_init.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
size_of_in_element_count.rs And the tools too 2024-03-22 11:13:29 -04:00
size_of_ref.rs Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update 2024-05-02 17:26:44 +02:00
slow_vector_initialization.rs Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update 2024-05-02 17:26:44 +02:00
std_instead_of_core.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
string_patterns.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
strings.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
strlen_on_c_strings.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
suspicious_operation_groupings.rs Tighten spans for async blocks 2024-06-27 15:19:08 -04:00
suspicious_trait_impl.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
suspicious_xor_used_as_pow.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
swap_ptr_to_ref.rs
swap.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
tabs_in_doc_comments.rs
temporary_assignment.rs
tests_outside_test_module.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
to_digit_is_some.rs
to_string_trait_impl.rs Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update 2024-05-02 17:26:44 +02:00
trailing_empty_array.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
trait_bounds.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
tuple_array_conversions.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
unconditional_recursion.rs Move trait selection error reporting to its own top-level module 2024-07-08 16:04:47 -04:00
undocumented_unsafe_blocks.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
unicode.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
uninhabited_references.rs Rename AstConv to HIR ty lowering 2024-03-22 06:31:40 +01:00
uninit_vec.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
unit_return_expecting_ord.rs Align Term methods with GenericArg methods 2024-06-03 20:36:27 -04:00
unnamed_address.rs
unnecessary_box_returns.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
unnecessary_map_on_constructor.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
unnecessary_owned_empty_strings.rs
unnecessary_self_imports.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
unnecessary_struct_initialization.rs Rename BindingAnnotation to BindingMode 2024-04-17 09:34:39 -04:00
unnecessary_wraps.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
unnested_or_patterns.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
unsafe_removed_from_name.rs store the span of the nested part of the use tree in the ast 2024-04-14 18:45:28 +02:00
unused_async.rs
unused_io_amount.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
unused_peekable.rs Rename hir::Node::Local into hir::Node::LetStmt 2024-03-22 20:48:36 +01:00
unused_rounding.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
unused_self.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
unused_unit.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
unwrap_in_result.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
unwrap.rs Merge commit '2efebd2f0c03dabbe5c3ad7b4ebfbd99238d1fb2' into clippy-subtree-update 2024-05-21 10:39:30 -07:00
upper_case_acronyms.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
use_self.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
useless_conversion.rs Rename BindingAnnotation to BindingMode 2024-04-17 09:34:39 -04:00
vec_init_then_push.rs Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update 2024-05-02 17:26:44 +02:00
vec.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
visibility.rs Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-update 2024-05-30 10:49:05 +02:00
wildcard_imports.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
write.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
zero_div_zero.rs Resolve Clippy f16 and f128 unimplemented!/FIXMEs 2024-06-19 13:30:21 -04:00
zero_repeat_side_effects.rs Lint only if array length is a literal zero. 2024-07-18 12:22:08 +07:00
zero_sized_map_values.rs Always use ty:: qualifier for TyKind enum variants. 2024-04-16 16:29:13 +10:00