Skip to content

Commit 2c31c31

Browse files
committed
Fix line length
1 parent eeb16a2 commit 2c31c31

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,10 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
341341
for (sp, label) in spans_and_labels {
342342
multi_span.push_span_label(sp, label);
343343
}
344-
err.span_note(multi_span, "closures can only be coerced to `fn` types if they do not capture any variables");
344+
err.span_note(
345+
multi_span,
346+
"closures can only be coerced to `fn` types if they do not capture any variables"
347+
);
345348
}
346349
}
347350
}

0 commit comments

Comments
 (0)