about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/lexer/tokentrees.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libsyntax/parse/lexer/tokentrees.rs b/src/libsyntax/parse/lexer/tokentrees.rs
index 2999e65ae4a..e6ad3b9203e 100644
--- a/src/libsyntax/parse/lexer/tokentrees.rs
+++ b/src/libsyntax/parse/lexer/tokentrees.rs
@@ -58,7 +58,10 @@ impl<'a> StringReader<'a> {
                         .next()  // these are in reverse order as they get inserted on close, but
                     {            // we want the last open/first close
                         if d == delim {
-                            err.span_label(*open_sp, "this might be the culprit...");
+                            err.span_label(
+                                *open_sp,
+                                "this delimiter might not be properly closed...",
+                            );
                             err.span_label(
                                 *close_sp,
                                 "...as it matches this but it has different indentation",