Skip to content

Commit e7fb98e

Browse files
committed
Apply formatting
1 parent 6cfe98f commit e7fb98e

File tree

1 file changed

+6
-1
lines changed
  • compiler/rustc_parse/src/parser

1 file changed

+6
-1
lines changed

compiler/rustc_parse/src/parser/expr.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,12 @@ impl<'a> Parser<'a> {
522522
token::BinOp(token::Plus) => {
523523
this.struct_span_err(lo, "leading `+` is not supported")
524524
.span_label(lo, "unexpected `+`")
525-
.span_suggestion_short(lo, "remove the `+`", "".to_string(), Applicability::MachineApplicable)
525+
.span_suggestion_short(
526+
lo,
527+
"remove the `+`",
528+
"".to_string(),
529+
Applicability::MachineApplicable,
530+
)
526531
.emit();
527532
this.bump();
528533

0 commit comments

Comments
 (0)