about summary refs log tree commit diff
path: root/compiler/rustc_parse
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_parse')
-rw-r--r--compiler/rustc_parse/src/parser/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/diagnostics.rs b/compiler/rustc_parse/src/parser/diagnostics.rs
index 466b69ec339..6252182d09a 100644
--- a/compiler/rustc_parse/src/parser/diagnostics.rs
+++ b/compiler/rustc_parse/src/parser/diagnostics.rs
@@ -299,7 +299,7 @@ struct BadQPathStage2 {
 #[error(slug = "parser-incorrect-semicolon")]
 struct IncorrectSemicolon<'a> {
     #[primary_span]
-    #[suggestion(applicability = "machine-applicable")]
+    #[suggestion_short(applicability = "machine-applicable")]
     span: Span,
     #[help]
     opt_help: Option<()>,