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 5a863d5 commit ce9e765Copy full SHA for ce9e765
compiler/rustc_parse/src/parser/expr.rs
@@ -535,7 +535,7 @@ impl<'a> Parser<'a> {
535
if let Some(sp) = this.sess.ambiguous_block_expr_parse.borrow().get(&sp) {
536
this.sess.expr_parentheses_needed(&mut err, *sp);
537
} else {
538
- err.span_suggestion(
+ err.span_suggestion(
539
lo,
540
"try removing the `+`",
541
"".to_string(),
0 commit comments