Apply formatting
This commit is contained in:
parent
6cfe98f196
commit
e7fb98e725
1 changed files with 6 additions and 1 deletions
|
@ -522,7 +522,12 @@ impl<'a> Parser<'a> {
|
||||||
token::BinOp(token::Plus) => {
|
token::BinOp(token::Plus) => {
|
||||||
this.struct_span_err(lo, "leading `+` is not supported")
|
this.struct_span_err(lo, "leading `+` is not supported")
|
||||||
.span_label(lo, "unexpected `+`")
|
.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();
|
.emit();
|
||||||
this.bump();
|
this.bump();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue