summaryrefslogtreecommitdiff
path: root/src/syntax
diff options
context:
space:
mode:
authorMathias Fischler <Mafii@users.noreply.github.com>2023-06-12 12:46:08 +0200
committerGitHub <noreply@github.com>2023-06-12 12:46:08 +0200
commit93e6638bfe171e3c337876d2143e4e048cd8b279 (patch)
treefbed2ca8b0ec432ceec05482193aaec097778dfa /src/syntax
parent6a7182fcf71d05e2bb32072a56715497a03f0314 (diff)
Resolve #1141: Add hint for missing numbering, improve hint format consistency (#1456)
Diffstat (limited to 'src/syntax')
-rw-r--r--src/syntax/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax/parser.rs b/src/syntax/parser.rs
index 05db42e1..5fc9ec26 100644
--- a/src/syntax/parser.rs
+++ b/src/syntax/parser.rs
@@ -1060,7 +1060,7 @@ fn for_loop(p: &mut Parser) {
p.assert(SyntaxKind::For);
pattern(p);
if p.at(SyntaxKind::Comma) {
- p.expected("keyword `in`. did you mean to use a destructuring pattern?");
+ p.expected("keyword `in` - did you mean to use a destructuring pattern?");
if !p.eat_if(SyntaxKind::Ident) {
p.eat_if(SyntaxKind::Underscore);
}