Fix line length
This commit is contained in:
parent
eeb16a2a89
commit
2c31c31bb8
1 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue