Remove usages of span_suggestion without Applicability
Use Applicability::Unspecified for all of them instead.
This commit is contained in:
@@ -3882,7 +3882,11 @@ impl<'a> Parser<'a> {
|
||||
if self.token == token::CloseDelim(token::Brace) {
|
||||
// If the struct looks otherwise well formed, recover and continue.
|
||||
if let Some(sp) = comma_sp {
|
||||
err.span_suggestion_short(sp, "remove this comma", String::new());
|
||||
err.span_suggestion_short_with_applicability(sp,
|
||||
"remove this comma",
|
||||
String::new(),
|
||||
Applicability::Unspecified,
|
||||
);
|
||||
}
|
||||
err.emit();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user