about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--clippy_lints/src/unnecessary_wrap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/unnecessary_wrap.rs b/clippy_lints/src/unnecessary_wrap.rs
index 28cc20f0007..6434b3033dd 100644
--- a/clippy_lints/src/unnecessary_wrap.rs
+++ b/clippy_lints/src/unnecessary_wrap.rs
@@ -122,7 +122,7 @@ impl<'tcx> LateLintPass<'tcx> for UnnecessaryWrap {
                             fn_decl.output.span(),
                             format!("remove `{}` from the return type...", return_type).as_str(),
                             inner_ty,
-                            Applicability::MachineApplicable,
+                            Applicability::MaybeIncorrect,
                         );
                     });
                     diag.multipart_suggestion(