We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa005fb commit cf56250Copy full SHA for cf56250
clippy_lints/src/unnecessary_reserve.rs
@@ -65,7 +65,7 @@ impl<'tcx> LateLintPass<'tcx> for UnnecessaryReserve {
65
cx,
66
UNNECESSARY_RESERVE,
67
next_stmt_span,
68
- "this `reserve` no longer makes sense in rustc version >= 1.62",
+ "unnecessary call to `reserve`",
69
|diag| {
70
diag.span_suggestion(
71
semi_expr.span,
0 commit comments