Remove usages of span_suggestion without Applicability

Use Applicability::Unspecified for all of them instead.
This commit is contained in:
Vitaly _Vi Shukela 2018-09-15 03:18:29 +03:00
parent d3cba9b4b4
commit b6fea3255c
No known key found for this signature in database
GPG key ID: C097221D6E03DF68
18 changed files with 107 additions and 50 deletions

View file

@ -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;