From dafb7f6d63acf750e4618e5ebd8df20d7cf2f0b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Mon, 25 Mar 2024 10:24:13 +0100 Subject: [PATCH] Change applicability of `assigning_clones` to `Unspecified` --- clippy_lints/src/assigning_clones.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/assigning_clones.rs b/clippy_lints/src/assigning_clones.rs index 88d9f762a87..4b0cfb399f6 100644 --- a/clippy_lints/src/assigning_clones.rs +++ b/clippy_lints/src/assigning_clones.rs @@ -212,7 +212,7 @@ fn suggest<'tcx>( call: &CallCandidate<'tcx>, ) { span_lint_and_then(cx, ASSIGNING_CLONES, assign_expr.span, call.message(), |diag| { - let mut applicability = Applicability::MachineApplicable; + let mut applicability = Applicability::Unspecified; diag.span_suggestion( assign_expr.span,