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