about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index ffa6567c18b..1b0bdd8cb5e 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -3183,7 +3183,7 @@ impl<'a> Parser<'a> {
                         let mut err = self.sess.span_diagnostic
                             .struct_span_err(in_span, "missing `in` in `for` loop");
                         err.span_label(in_span, "expected `in` here");
-                        err.span_suggestion_short(in_span, "try adding `in` here", "in".into());
+                        err.span_suggestion_short(in_span, "try adding `in` here", " in ".into());
                         Err(err)
                     }
                     Err(mut expr_err) => {