diff --git a/clippy_lints/src/types.rs b/clippy_lints/src/types.rs index 75e2f75ffcd4..6ee7d10155cd 100644 --- a/clippy_lints/src/types.rs +++ b/clippy_lints/src/types.rs @@ -289,7 +289,7 @@ fn check_ty(cx: &LateContext<'_, '_>, hir_ty: &hir::Ty, is_local: bool) { "`Vec` is already on the heap, the boxing is unnecessary.", "try", format!("Vec<{}>", ty_ty), - Applicability::MaybeIncorrect, + Applicability::MachineApplicable, ); return; // don't recurse into the type }