Improve lint message; add note for future autofixable updates

This commit is contained in:
nahuakang 2021-02-04 10:51:40 +01:00
parent 78ef0f2f6c
commit 2f8a8d3468
3 changed files with 9 additions and 7 deletions

View file

@ -2051,7 +2051,7 @@ fn check_manual_flatten<'tcx>(
);
diag.span_help(
inner_expr.span,
"also remove the `if let` statement in the for loop",
"...and remove the `if let` statement in the for loop",
);
}
);