From 015ce17dfd5e6bf711920d355e3a29a270791822 Mon Sep 17 00:00:00 2001 From: Dinu Blanovschi Date: Sat, 25 Nov 2023 18:50:33 +0100 Subject: [PATCH] change category to `restriction` see discussion in rust-lang/rust-clippy#11721 --- clippy_lints/src/needless_move.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/needless_move.rs b/clippy_lints/src/needless_move.rs index 8aa5c910d79b..6557f3fc2ea7 100644 --- a/clippy_lints/src/needless_move.rs +++ b/clippy_lints/src/needless_move.rs @@ -67,7 +67,7 @@ declare_clippy_lint! { /// ``` #[clippy::version = "1.76.0"] pub NEEDLESS_MOVE, - pedantic, + restriction, "checks for needless `move`s on closures / `async` blocks" }