We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 810d169 commit 14ae306Copy full SHA for 14ae306
clippy_lints/src/unnecessary_box_returns.rs
@@ -73,8 +73,8 @@ impl LateLintPass<'_> for UnnecessaryBoxReturns {
73
format!("function returns `Box<{boxed_ty}>` when `{boxed_ty}` implements `Sized`").as_str(),
74
"change the return type to",
75
boxed_ty.to_string(),
76
- // the return value also needs to be changed, so this can't be MachineApplicable
77
- Applicability::HasPlaceholders,
+ // the return value and function callers also needs to be changed, so this can't be MachineApplicable
+ Applicability::Unspecified,
78
);
79
}
80
0 commit comments