rust/clippy_lints/src
David Wood 5ffe8a1a90 errors: span_suggestion takes impl ToString
Change `span_suggestion` (and variants) to take `impl ToString` rather
than `String` for the suggested code, as this simplifies the
requirements on the diagnostic derive.

Signed-off-by: David Wood <david.wood@huawei.com>
2022-04-29 02:05:20 +01:00
..
cargo Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
casts Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
functions errors: span_suggestion takes impl ToString 2022-04-29 02:05:20 +01:00
loops Auto merge of #94468 - Amanieu:global_asm_sym, r=nagisa 2022-04-16 04:46:01 +00:00
matches Auto merge of #94255 - b-naber:use-mir-constant-in-thir, r=oli-obk 2022-04-13 07:50:56 +00:00
methods Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
misc_early Update clippy 2022-01-23 19:31:32 +08:00
transmute Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
types Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
unit_types Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
utils Make clippy inspector more precise. 2022-04-23 23:03:18 +02:00
absurd_extreme_comparisons.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
approx_const.rs Update clippy 2022-01-23 19:31:32 +08:00
arithmetic.rs Remember mutability in DefKind::Static. 2022-03-29 18:50:52 +02:00
as_conversions.rs Update clippy 2022-01-23 19:31:32 +08:00
asm_syntax.rs Merge commit '23d11428de3e973b34a5090a78d62887f821c90e' into clippyup 2021-12-17 13:40:22 +01:00
assertions_on_constants.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
assign_ops.rs Fix Visitor::NestedFilter in Clippy 2022-01-16 16:02:36 -06:00
async_yields_async.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
attrs.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
await_holding_invalid.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
bit_mask.rs Merge commit '8d14c94b5c0a66241b4244f1c60ac5859cec1d97' into clippyup 2022-01-17 13:29:07 +01:00
blacklisted_name.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
blocks_in_if_conditions.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
bool_assert_comparison.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
booleans.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
borrow_as_ptr.rs Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup 2022-01-27 15:12:45 +01:00
bytecount.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
case_sensitive_file_extension_comparisons.rs Avoid looking at the internals of Interned directly 2022-04-08 15:57:44 +00:00
checked_conversions.rs Remove unnecessary sigils around Symbol::as_str() calls. 2021-12-15 17:32:14 +11:00
cognitive_complexity.rs Stop visiting visibility. 2022-04-23 09:53:45 +02:00
collapsible_if.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
collapsible_match.rs errors: implement fallback diagnostic translation 2022-04-05 07:01:02 +01:00
comparison_chain.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
copies.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
copy_iterator.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
crate_in_macro_def.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
create_dir.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
dbg_macro.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
default_numeric_fallback.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
default_union_representation.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
default.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
deprecated_lints.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
dereference.rs Don't lint needless_borrow in method receiver positions 2022-02-17 16:21:53 +01:00
derivable_impls.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
derive.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
disallowed_methods.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
disallowed_script_idents.rs Update clippy 2022-01-23 19:31:32 +08:00
disallowed_types.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
doc.rs errors: lazily load fallback fluent bundle 2022-04-13 02:44:59 +01:00
double_comparison.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
double_parens.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
drop_forget_ref.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
duration_subsec.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
else_if_without_else.rs Update clippy 2022-01-23 19:31:32 +08:00
empty_enum.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
empty_structs_with_brackets.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
entry.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
enum_clike.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
enum_variants.rs Drop vis in Item. 2022-04-23 09:59:24 +02:00
eq_op.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
equatable_if_let.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
erasing_op.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
escape.rs Auto merge of #92805 - BoxyUwU:revert-lazy-anon-const-substs, r=lcnr 2022-01-16 11:19:21 +00:00
eta_reduction.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
eval_order_dependence.rs Fix Visitor::NestedFilter in Clippy 2022-01-16 16:02:36 -06:00
excessive_bools.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
exhaustive_items.rs Drop vis in FieldDef. 2022-04-23 09:56:15 +02:00
exit.rs Return a LocalDefId in get_parent_item. 2022-01-15 21:26:20 +01:00
explicit_write.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
fallible_impl_from.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
float_equality_without_abs.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
float_literal.rs Merge commit '0eff589afc83e21a03a168497bbab6b4dfbb4ef6' into clippyup 2021-12-30 15:10:43 +01:00
floating_point_arithmetic.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
format_args.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
format_impl.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
format.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
formatting.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
from_over_into.rs Update clippy 2022-01-23 19:31:32 +08:00
from_str_radix_10.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
future_not_send.rs Revert "Auto merge of #91491 - spastorino:revert-91354, r=oli-obk" 2021-12-12 12:34:46 +08:00
get_last_with_len.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
identity_op.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
if_let_mutex.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
if_not_else.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
if_then_some_else_none.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
implicit_hasher.rs Replace &mut DiagnosticBuilder, in signatures, with &mut Diagnostic. 2022-02-23 05:38:19 +00:00
implicit_return.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
implicit_saturating_sub.rs get clippy to compile again 2022-03-30 11:23:58 +02:00
inconsistent_struct_constructor.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
index_refutable_slice.rs Overhaul TyS and Ty. 2022-02-15 16:03:24 +11:00
indexing_slicing.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
infinite_iter.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
inherent_impl.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
inherent_to_string.rs Return a LocalDefId in get_parent_item. 2022-01-15 21:26:20 +01:00
init_numbered_fields.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
inline_fn_without_body.rs Replace &mut DiagnosticBuilder, in signatures, with &mut Diagnostic. 2022-02-23 05:38:19 +00:00
int_plus_one.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
integer_division.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
invalid_upcast_comparisons.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
items_after_statements.rs Update clippy 2022-01-23 19:31:32 +08:00
iter_not_returning_iterator.rs Merge commit '8d14c94b5c0a66241b4244f1c60ac5859cec1d97' into clippyup 2022-01-17 13:29:07 +01:00
large_const_arrays.rs Overhaul Const. 2022-02-15 16:19:59 +11:00
large_enum_variant.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
large_stack_arrays.rs Overhaul Const. 2022-02-15 16:19:59 +11:00
len_zero.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
let_if_seq.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
let_underscore.rs initial revert 2022-01-15 01:16:55 +00:00
lib.deprecated.rs Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup 2021-10-07 11:21:30 +02:00
lib.register_all.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
lib.register_cargo.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
lib.register_complexity.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
lib.register_correctness.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
lib.register_internal.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
lib.register_lints.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
lib.register_nursery.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
lib.register_pedantic.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
lib.register_perf.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
lib.register_restriction.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
lib.register_style.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
lib.register_suspicious.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
lib.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
lifetimes.rs Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup 2022-01-27 15:12:45 +01:00
literal_representation.rs Update clippy 2022-01-23 19:31:32 +08:00
macro_use.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
main_recursion.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
manual_assert.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
manual_async_fn.rs Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup 2022-01-27 15:12:45 +01:00
manual_bits.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
manual_map.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
manual_non_exhaustive.rs Update clippy 2022-01-23 19:31:32 +08:00
manual_ok_or.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
manual_strip.rs Update clippy 2022-01-23 19:31:32 +08:00
manual_unwrap_or.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
map_clone.rs Overhaul TyS and Ty. 2022-02-15 16:03:24 +11:00
map_err_ignore.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
map_unit_fn.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
match_on_vec_items.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
match_result_ok.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
match_str_case_mismatch.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
mem_forget.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
mem_replace.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
minmax.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
misc.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
missing_const_for_fn.rs errors: implement fallback diagnostic translation 2022-04-05 07:01:02 +01:00
missing_doc.rs Stop using CRATE_DEF_INDEX. 2022-04-17 12:14:42 +02:00
missing_enforced_import_rename.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
missing_inline.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
module_style.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
modulo_arithmetic.rs Overhaul TyS and Ty. 2022-02-15 16:03:24 +11:00
mut_key.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
mut_mut.rs Fix Visitor::NestedFilter in Clippy 2022-01-16 16:02:36 -06:00
mut_mutex_lock.rs Overhaul TyS and Ty. 2022-02-15 16:03:24 +11:00
mut_reference.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
mutable_debug_assertion.rs Fix Visitor::NestedFilter in Clippy 2022-01-16 16:02:36 -06:00
mutex_atomic.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
needless_arbitrary_self_type.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
needless_bitwise_bool.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
needless_bool.rs Merge commit '0eff589afc83e21a03a168497bbab6b4dfbb4ef6' into clippyup 2021-12-30 15:10:43 +01:00
needless_borrowed_ref.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
needless_continue.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
needless_for_each.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
needless_late_init.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
needless_pass_by_value.rs errors: span_suggestion takes impl ToString 2022-04-29 02:05:20 +01:00
needless_question_mark.rs remove TyS::same_type 2022-02-01 11:21:26 +01:00
needless_update.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
neg_cmp_op_on_partial_ord.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
neg_multiply.rs rebase and use ty::Const in patterns again 2022-04-02 12:21:00 +02:00
new_without_default.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
no_effect.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
non_copy_const.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
non_expressive_names.rs Update clippy 2022-01-23 19:31:32 +08:00
non_octal_unix_permissions.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
non_send_fields_in_send_ty.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
nonstandard_macro_braces.rs Remove unnecessary sigils around Symbol::as_str() calls. 2021-12-15 17:32:14 +11:00
octal_escapes.rs Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup 2022-01-27 15:12:45 +01:00
only_used_in_recursion.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
open_options.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
option_env_unwrap.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
option_if_let_else.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
overflow_check_conditional.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
panic_in_result_fn.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
panic_unimplemented.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
partialeq_ne_impl.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
pass_by_ref_or_value.rs Stop visiting visibility. 2022-04-23 09:53:45 +02:00
path_buf_push_overwrite.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
pattern_type_mismatch.rs let-else: use hir::Let in clippy 2021-12-13 14:02:41 +11:00
precedence.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
ptr_eq.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
ptr_offset_with_cast.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
ptr.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
question_mark.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
ranges.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
redundant_clone.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
redundant_closure_call.rs Update clippy 2022-01-23 19:31:32 +08:00
redundant_else.rs Update clippy 2022-01-23 19:31:32 +08:00
redundant_field_names.rs Update clippy 2022-01-23 19:31:32 +08:00
redundant_pub_crate.rs Drop vis in Item. 2022-04-23 09:59:24 +02:00
redundant_slicing.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
redundant_static_lifetimes.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
ref_option_ref.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
reference.rs Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup 2022-01-27 15:12:45 +01:00
regex.rs Update clippy helper function types 2022-03-25 15:05:27 +01:00
repeat_once.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
return_self_not_must_use.rs Stop visiting visibility. 2022-04-23 09:53:45 +02:00
returns.rs Fix Visitor::NestedFilter in Clippy 2022-01-16 16:02:36 -06:00
same_name_method.rs remove CheckVisitor, CollectExternCrateVisitor and ItemLikeVisitor impls 2022-04-08 12:00:23 -04:00
self_assignment.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
self_named_constructors.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
semicolon_if_nothing_returned.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
serde_api.rs Remove unnecessary sigils around Ident::as_str() calls. 2021-12-15 17:32:42 +11:00
shadow.rs Update issue-92893.stderr 2022-04-14 23:42:15 +03:00
single_char_lifetime_names.rs Update clippy 2022-01-23 19:31:32 +08:00
single_component_path_imports.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
size_of_in_element_count.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
slow_vector_initialization.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
stable_sort_primitive.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
strings.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
strlen_on_c_strings.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
suspicious_operation_groupings.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
suspicious_trait_impl.rs Fix Visitor::NestedFilter in Clippy 2022-01-16 16:02:36 -06:00
swap.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
tabs_in_doc_comments.rs Merge commit '0eff589afc83e21a03a168497bbab6b4dfbb4ef6' into clippyup 2021-12-30 15:10:43 +01:00
temporary_assignment.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
to_digit_is_some.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
trailing_empty_array.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
trait_bounds.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
transmuting_null.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
try_err.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
undocumented_unsafe_blocks.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
unicode.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
uninit_vec.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
unit_hash.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
unit_return_expecting_ord.rs Overhaul TyS and Ty. 2022-02-15 16:03:24 +11:00
unnamed_address.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
unnecessary_self_imports.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
unnecessary_sort_by.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
unnecessary_wraps.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
unnested_or_patterns.rs Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup 2022-01-27 15:12:45 +01:00
unsafe_removed_from_name.rs Merge commit '0eff589afc83e21a03a168497bbab6b4dfbb4ef6' into clippyup 2021-12-30 15:10:43 +01:00
unused_async.rs Stop visiting visibility. 2022-04-23 09:53:45 +02:00
unused_io_amount.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
unused_self.rs Return a LocalDefId in get_parent_item. 2022-01-15 21:26:20 +01:00
unused_unit.rs Remove unnecessary sigils around Symbol::as_str() calls. 2021-12-15 17:32:14 +11:00
unwrap_in_result.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
unwrap.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
upper_case_acronyms.rs fix typos 2022-03-15 02:00:08 +01:00
use_self.rs Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
useless_conversion.rs Remove unnecessary sigils around Ident::as_str() calls. 2021-12-15 17:32:42 +11:00
vec_init_then_push.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
vec_resize_to_zero.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
vec.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
verbose_file_reads.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
wildcard_imports.rs Drop vis in Item. 2022-04-23 09:59:24 +02:00
write.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
zero_div_zero.rs Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
zero_sized_map_values.rs Return a LocalDefId in get_parent_item. 2022-01-15 21:26:20 +01:00