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" }