rust/clippy_lints/src
bors 526d1156bd Auto merge of #11191 - Alexendoo:redundant-type-annotations-ice, r=llogiq
redundant_type_annotations: only pass certain def kinds to type_of

Fixes #11190
Fixes rust-lang/rust#113516

Also adds an `is_lint_allowed` check to skip the lint when it's not needed

changelog: none
2023-08-06 18:45:38 +00:00
..
cargo
casts Take snippet instead of pretty printing type 2023-08-02 17:26:25 -05:00
functions Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
loops Add debug assertions to implements_trait 2023-07-30 00:38:04 -04:00
matches Merge remote-tracking branch 'upstream/master' into rustup 2023-07-28 23:44:28 +02:00
methods Extract never-like into clippy_utils 2023-08-02 14:00:26 -05:00
misc_early Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
operators Update clippy_lints/src/operators/mod.rs 2023-08-06 17:19:43 +00:00
transmute Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
types Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
unit_types Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
utils Merge remote-tracking branch 'upstream/master' into rustup 2023-07-28 23:44:28 +02:00
absolute_paths.rs New lint absolute_paths 2023-07-21 17:26:58 -05:00
allow_attributes.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
almost_complete_range.rs
approx_const.rs
arc_with_non_send_sync.rs [arc_with_non_send_sync]: Check if it's macro-generated 2023-07-25 18:09:59 -05:00
as_conversions.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
asm_syntax.rs
assertions_on_constants.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
assertions_on_result_states.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
async_yields_async.rs
attrs.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
await_holding_invalid.rs
blocks_in_if_conditions.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
bool_assert_comparison.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
bool_to_int_with_if.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
booleans.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
borrow_deref_ref.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
box_default.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
checked_conversions.rs
cognitive_complexity.rs
collapsible_if.rs
collection_is_never_read.rs Merge commit '30448e8cf98d4754350db0c959644564f317bc0f' into clippyup 2023-06-02 11:41:57 +02:00
comparison_chain.rs
copies.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
copy_iterator.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
crate_in_macro_def.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
create_dir.rs
dbg_macro.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
declared_lints.rs Rename 'impossible_double_const_comparisons' -> 'impossible_comparisons' and 'ineffective_double_const_comparisons' -> 'redundant_comparisons', after discussion on Zulip 2023-08-05 21:28:08 +02:00
default_constructed_unit_structs.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
default_instead_of_iter_empty.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
default_numeric_fallback.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
default_union_representation.rs
default.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
deprecated_lints.rs
dereference.rs Merge remote-tracking branch 'upstream/master' into rustup 2023-07-28 23:44:28 +02:00
derivable_impls.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
derive.rs Add debug assertions to implements_trait 2023-07-30 00:38:04 -04:00
disallowed_macros.rs
disallowed_methods.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
disallowed_names.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
disallowed_script_idents.rs
disallowed_types.rs
doc.rs Use a builder instead of boolean/option arguments 2023-07-25 13:51:15 +00:00
double_parens.rs
drop_forget_ref.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
duplicate_mod.rs
else_if_without_else.rs
empty_drop.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
empty_enum.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
empty_structs_with_brackets.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
endian_bytes.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
entry.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
enum_clike.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
enum_variants.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
equatable_if_let.rs
error_impl_error.rs Remove the configuration option 2023-07-19 02:08:33 -05:00
escape.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
eta_reduction.rs Don't lint redundant closure for any function call inserted by the compiler. 2023-07-30 01:19:36 -04:00
excessive_bools.rs
excessive_nesting.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
exhaustive_items.rs
exit.rs
explicit_write.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
extra_unused_type_parameters.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
fallible_impl_from.rs
float_literal.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
floating_point_arithmetic.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
format_args.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
format_impl.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
format_push_string.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
format.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
formatting.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
four_forward_slashes.rs Improve suggestion and add more tests 2023-07-12 19:54:55 -05:00
from_over_into.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
from_raw_with_void_ptr.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
from_str_radix_10.rs
future_not_send.rs Rename arg_iter to iter_instantiated 2023-07-17 21:04:12 +00:00
if_let_mutex.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
if_not_else.rs
if_then_some_else_none.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
ignored_unit_patterns.rs New lint ignored_unit_patterns 2023-07-31 22:00:53 +02:00
implicit_hasher.rs
implicit_return.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
implicit_saturating_add.rs Merge commit '435a8ad86c7a33bd7ffb91c59039943408d3b6aa' into clippyup 2023-05-20 15:39:26 +02:00
implicit_saturating_sub.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
inconsistent_struct_constructor.rs
incorrect_impls.rs Rework redundant_closure 2023-07-30 01:19:29 -04:00
index_refutable_slice.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
indexing_slicing.rs Merge commit '435a8ad86c7a33bd7ffb91c59039943408d3b6aa' into clippyup 2023-05-20 15:39:26 +02:00
infinite_iter.rs
inherent_impl.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
inherent_to_string.rs [inherent_to_string]: Don't lint unsafe or extern fns 2023-07-21 06:45:30 -05:00
init_numbered_fields.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
inline_fn_without_body.rs
instant_subtraction.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
int_plus_one.rs
invalid_upcast_comparisons.rs
items_after_statements.rs
items_after_test_module.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
iter_not_returning_iterator.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
large_const_arrays.rs
large_enum_variant.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
large_futures.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
large_include_file.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
large_stack_arrays.rs Merge commit '30448e8cf98d4754350db0c959644564f317bc0f' into clippyup 2023-06-02 11:41:57 +02:00
large_stack_frames.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
len_zero.rs Merge remote-tracking branch 'upstream/master' into rustup 2023-07-28 23:44:28 +02:00
let_if_seq.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
let_underscore.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
let_with_type_underscore.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
lib.deprecated.rs
lib.rs New lint ignored_unit_patterns 2023-07-31 22:00:53 +02:00
lifetimes.rs New lint absolute_paths 2023-07-21 17:26:58 -05:00
lines_filter_map_ok.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
literal_representation.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
macro_use.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
main_recursion.rs
manual_assert.rs
manual_async_fn.rs
manual_bits.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
manual_clamp.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
manual_float_methods.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
manual_is_ascii_check.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
manual_let_else.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
manual_main_separator_str.rs
manual_non_exhaustive.rs
manual_range_patterns.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
manual_rem_euclid.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
manual_retain.rs
manual_slice_size_calculation.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
manual_string_new.rs
manual_strip.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
map_unit_fn.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
match_result_ok.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
mem_replace.rs
min_ident_chars.rs changelog: [min_ident_chars]: don't lint const generics 2023-07-24 14:59:27 +02:00
minmax.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
misc.rs Merge commit '435a8ad86c7a33bd7ffb91c59039943408d3b6aa' into clippyup 2023-05-20 15:39:26 +02:00
mismatching_type_param_order.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
missing_assert_message.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
missing_const_for_fn.rs Use Cow in {D,Subd}iagnosticMessage. 2023-05-29 09:23:43 +10:00
missing_doc.rs
missing_enforced_import_rename.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
missing_fields_in_debug.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
missing_inline.rs Rename impl_defaultness to defaultness 2023-06-01 06:14:06 +00:00
missing_trait_methods.rs
mixed_read_write_in_expression.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
module_style.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
multi_assignments.rs
multiple_unsafe_ops_per_block.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
mut_key.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
mut_mut.rs
mut_reference.rs [unnecessary_mut_passed]: don't lint in macro expansions 2023-07-31 21:09:52 +02:00
mutable_debug_assertion.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
mutex_atomic.rs
needless_arbitrary_self_type.rs
needless_bool.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
needless_borrowed_ref.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
needless_continue.rs
needless_else.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
needless_for_each.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
needless_if.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
needless_late_init.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
needless_parens_on_range_literals.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
needless_pass_by_ref_mut.rs Merge remote-tracking branch 'upstream/master' into rustup 2023-07-28 23:44:28 +02:00
needless_pass_by_value.rs Add debug assertions to implements_trait 2023-07-30 00:38:04 -04:00
needless_question_mark.rs
needless_update.rs
neg_cmp_op_on_partial_ord.rs
neg_multiply.rs
new_without_default.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
no_effect.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
no_mangle_with_rust_abi.rs
non_copy_const.rs Merge remote-tracking branch 'upstream/master' into rustup 2023-07-28 23:44:28 +02:00
non_expressive_names.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
non_octal_unix_permissions.rs
non_send_fields_in_send_ty.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
nonstandard_macro_braces.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
octal_escapes.rs
only_used_in_recursion.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
option_env_unwrap.rs Add comments + Very minor Refactor 2023-07-26 23:16:24 +02:00
option_if_let_else.rs New lint ignored_unit_patterns 2023-07-31 22:00:53 +02:00
overflow_check_conditional.rs
panic_in_result_fn.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
panic_unimplemented.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
partial_pub_fields.rs
partialeq_ne_impl.rs
partialeq_to_none.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
pass_by_ref_or_value.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
pattern_type_mismatch.rs
permissions_set_readonly_false.rs
precedence.rs
ptr_offset_with_cast.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
ptr.rs Merge remote-tracking branch 'upstream/master' into rustup 2023-07-28 23:44:28 +02:00
pub_use.rs
question_mark_used.rs
question_mark.rs Suppress question_mark if question_mark_used is not allowed 2023-08-02 14:13:16 -05:00
ranges.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
raw_strings.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
rc_clone_in_vec_init.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
read_zero_byte_vec.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
redundant_async_block.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
redundant_clone.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
redundant_closure_call.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
redundant_else.rs
redundant_field_names.rs
redundant_locals.rs new lint: redundant_local 2023-07-21 18:14:03 -07:00
redundant_pub_crate.rs
redundant_slicing.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
redundant_static_lifetimes.rs New lint absolute_paths 2023-07-21 17:26:58 -05:00
redundant_type_annotations.rs redundant_type_annotations: only pass certain def kinds to type_of 2023-07-19 17:22:06 +00:00
ref_option_ref.rs
ref_patterns.rs Merge commit '435a8ad86c7a33bd7ffb91c59039943408d3b6aa' into clippyup 2023-05-20 15:39:26 +02:00
reference.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
regex.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
renamed_lints.rs Rename unwrap_or_else_default to unwrap_or_default 2023-07-19 20:36:10 -04:00
return_self_not_must_use.rs
returns.rs Merge remote-tracking branch 'upstream/master' into rustup 2023-07-28 23:44:28 +02:00
same_name_method.rs
self_named_constructors.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
semicolon_block.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
semicolon_if_nothing_returned.rs [semicolon_if_nothing_returned]: enable the autofix 2023-07-16 19:37:42 +02:00
serde_api.rs
shadow.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
significant_drop_tightening.rs Merge remote-tracking branch 'upstream/master' into rustup 2023-07-28 23:44:28 +02:00
single_call_fn.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
single_char_lifetime_names.rs
single_component_path_imports.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
single_range_in_vec_init.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
size_of_in_element_count.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
size_of_ref.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
slow_vector_initialization.rs simplify looking for Vec::with_capacity exprs 2023-07-25 18:56:57 +02:00
std_instead_of_core.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
strings.rs clippy: env! invocations can't be b"" literals 2023-07-25 11:56:54 +01:00
strlen_on_c_strings.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
suspicious_doc_comments.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
suspicious_operation_groupings.rs
suspicious_trait_impl.rs
suspicious_xor_used_as_pow.rs Fix suspicious_xor_used_as_pow.rs performance 2023-08-03 21:58:59 +02:00
swap_ptr_to_ref.rs
swap.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
tabs_in_doc_comments.rs
temporary_assignment.rs
tests_outside_test_module.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
to_digit_is_some.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
trailing_empty_array.rs
trait_bounds.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
tuple_array_conversions.rs Auto merge of #11171 - Centri3:tuple_array_conversions, r=llogiq 2023-07-18 05:15:50 +00:00
undocumented_unsafe_blocks.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
unicode.rs
uninit_vec.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
unit_return_expecting_ord.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
unnamed_address.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
unnecessary_box_returns.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
unnecessary_owned_empty_strings.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
unnecessary_self_imports.rs
unnecessary_struct_initialization.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
unnecessary_wraps.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
unnested_or_patterns.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
unsafe_removed_from_name.rs
unused_async.rs replace HashMap with Vec, use span_lint_hir_and_then 2023-07-22 14:33:36 +02:00
unused_io_amount.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
unused_peekable.rs
unused_rounding.rs
unused_self.rs
unused_unit.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
unwrap_in_result.rs
unwrap.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
upper_case_acronyms.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
use_self.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
useless_conversion.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
vec_init_then_push.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
vec.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
visibility.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
wildcard_imports.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
write.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
zero_div_zero.rs
zero_sized_map_values.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00