Skip to content

Commit 9492176

Browse files
committed
Suggest in separate line
1 parent a71deb2 commit 9492176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/traits/error_reporting.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ impl<'a, 'gcx, 'tcx> InferCtxt<'a, 'gcx, 'tcx> {
10611061
.join(", ");
10621062
err.span_suggestion_with_applicability(
10631063
found_span,
1064-
&format!("change the closure to take and ignore the argument{}",
1064+
&format!("change the closure to take and ignore the expected argument{}",
10651065
if expected_args.len() < 2 {
10661066
""
10671067
} else {

0 commit comments

Comments
 (0)