Downgrade applicability to MaybeIncorrect
This commit is contained in:
parent
30632fb8e6
commit
e998d61fe6
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue