diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2021-09-24 22:14:06 +0000 |
|---|---|---|
| committer | Tyler Mandry <tmandry@gmail.com> | 2021-10-13 23:26:00 +0000 |
| commit | 2c31c31bb87092fec3da6eefe6d5a3a836c6c5ba (patch) | |
| tree | 96e5b1732daae97c15fb145e4cb1f47dc743832c | |
| parent | eeb16a2a892c2a29b1da3085e29f39efa3486e1c (diff) | |
| download | rust-2c31c31bb87092fec3da6eefe6d5a3a836c6c5ba.tar.gz rust-2c31c31bb87092fec3da6eefe6d5a3a836c6c5ba.zip | |
Fix line length
| -rw-r--r-- | compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs b/compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs index da8b863e2db..4d25399a123 100644 --- a/compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs +++ b/compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs @@ -341,7 +341,10 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> { for (sp, label) in spans_and_labels { 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" + ); } } } |
