summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/import-glob-path.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/import-glob-path.stderr')
-rw-r--r--tests/ui/parser/import-glob-path.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/parser/import-glob-path.stderr b/tests/ui/parser/import-glob-path.stderr
new file mode 100644
index 000000000..a93ef255c
--- /dev/null
+++ b/tests/ui/parser/import-glob-path.stderr
@@ -0,0 +1,10 @@
+error: expected `;`, found `::`
+ --> $DIR/import-glob-path.rs:2:11
+ |
+LL | use foo::*::bar
+ | ^^ expected `;`
+ |
+ = note: the wildcard token must be last on the path
+
+error: aborting due to previous error
+