summaryrefslogtreecommitdiffstats
path: root/src/test/ui/imports/import-prefix-macro-1.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/imports/import-prefix-macro-1.stderr')
-rw-r--r--src/test/ui/imports/import-prefix-macro-1.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ui/imports/import-prefix-macro-1.stderr b/src/test/ui/imports/import-prefix-macro-1.stderr
new file mode 100644
index 000000000..8868ee3ae
--- /dev/null
+++ b/src/test/ui/imports/import-prefix-macro-1.stderr
@@ -0,0 +1,13 @@
+error: expected one of `::`, `;`, or `as`, found `{`
+ --> $DIR/import-prefix-macro-1.rs:11:27
+ |
+LL | ($p: path) => (use $p {S, Z});
+ | ^^^^^^ expected one of `::`, `;`, or `as`
+...
+LL | import! { a::b::c }
+ | ------------------- in this macro invocation
+ |
+ = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: aborting due to previous error
+