check_unboxed_closure(fcx, expr, kind, decl, body, None);
span_err!(fcx.ccx.tcx.sess, expr.span, E0187,
- "can't infer the \"kind\" of the closure, explicitly annotate it. e.g. \
+ "can't infer the \"kind\" of the closure; explicitly annotate it; e.g. \
`|&:| {{}}`");
},
Some((sig, kind)) => {