summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/import-prefix-macro-1.stderr
blob: a6a5b1393daecc8e0c7298541f5c5966bb181db8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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