about summary refs log tree commit diff
path: root/tests/ui/imports/import-prefix-macro-2.stderr
blob: fbeca99b138002b27be11c237a04c292b4756dd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: expected identifier, found metavariable
  --> $DIR/import-prefix-macro-2.rs:11:26
   |
LL |     ($p: path) => (use ::$p {S, Z});
   |                          ^^ expected identifier, found metavariable
...
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 1 previous error