1
Fork 0

Fix line length

This commit is contained in:
Tyler Mandry 2021-09-24 22:14:06 +00:00
parent eeb16a2a89
commit 2c31c31bb8

View file

@ -341,7 +341,10 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
for (sp, label) in spans_and_labels { for (sp, label) in spans_and_labels {
multi_span.push_span_label(sp, label); multi_span.push_span_label(sp, label);
} }
err.span_note(multi_span, "closures can only be coerced to `fn` types if they do not capture any variables"); err.span_note(
multi_span,
"closures can only be coerced to `fn` types if they do not capture any variables"
);
} }
} }
} }