Apply formatting

This commit is contained in:
Theodore Luo Wang 2021-08-31 23:09:43 -04:00
parent 6cfe98f196
commit e7fb98e725

View file

@ -522,7 +522,12 @@ impl<'a> Parser<'a> {
token::BinOp(token::Plus) => {
this.struct_span_err(lo, "leading `+` is not supported")
.span_label(lo, "unexpected `+`")
.span_suggestion_short(lo, "remove the `+`", "".to_string(), Applicability::MachineApplicable)
.span_suggestion_short(
lo,
"remove the `+`",
"".to_string(),
Applicability::MachineApplicable,
)
.emit();
this.bump();