X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=clippy_lints%2Fsrc%2Ftypes.rs;h=6ee7d10155cd602d96fcd1489d1462c4ec29b447;hb=38347bad3868aee11e2b47db5ae15a39829becd7;hp=75e2f75ffcd4623df48b0fa90c0826d32c2bd819;hpb=4aff8711f0a047fca0f06627e94618f4da1f7e4f;p=rust.git diff --git a/clippy_lints/src/types.rs b/clippy_lints/src/types.rs index 75e2f75ffcd..6ee7d10155c 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 }