mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-14 21:16:50 +00:00
Apply formatting
This commit is contained in:
parent
6cfe98f196
commit
e7fb98e725
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user