summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/similar-tokens.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/similar-tokens.stderr')
-rw-r--r--tests/ui/parser/similar-tokens.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/parser/similar-tokens.stderr b/tests/ui/parser/similar-tokens.stderr
new file mode 100644
index 000000000..90acfc052
--- /dev/null
+++ b/tests/ui/parser/similar-tokens.stderr
@@ -0,0 +1,11 @@
+error: expected one of `,`, `::`, `as`, or `}`, found `.`
+ --> $DIR/similar-tokens.rs:9:10
+ |
+LL | use x::{A. B};
+ | ^
+ | |
+ | expected one of `,`, `::`, `as`, or `}`
+ | help: missing `,`
+
+error: aborting due to previous error
+