We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9567c1c commit 5f4858eCopy full SHA for 5f4858e
src/librustc/middle/ty.rs
@@ -5132,7 +5132,8 @@ pub fn note_and_explain_type_err<'tcx>(cx: &ctxt<'tcx>, err: &type_err<'tcx>) {
5132
let found_str = ty_sort_string(cx, values.found);
5133
if expected_str == found_str && expected_str == "closure" {
5134
cx.sess.note(&format!("no two closures, even if identical, have the same type"));
5135
- cx.sess.help(&format!("consider boxing your closure and/or using it as a trait object"));
+ cx.sess.help(&format!("consider boxing your closure and/or \
5136
+ using it as a trait object"));
5137
}
5138
5139
_ => {}
0 commit comments