diff options
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_parse/src/parser/item.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/item.rs b/compiler/rustc_parse/src/parser/item.rs index 8f4edf6ce48..8f58bce8890 100644 --- a/compiler/rustc_parse/src/parser/item.rs +++ b/compiler/rustc_parse/src/parser/item.rs @@ -700,7 +700,7 @@ impl<'a> Parser<'a> { .span_label(non_item_span, "non-item starts here") .span_label(self.prev_token.span, "item list ends here"); if is_unnecessary_semicolon { - err.span_suggestion_verbose( + err.span_suggestion( semicolon_span, "consider removing this semicolon", "", |
