rust/tests/ui/imports/import-prefix-macro-2.stderr
2023-01-11 09:32:08 +00:00

14 lines
428 B
Plaintext

error: expected identifier, found `a::b::c`
--> $DIR/import-prefix-macro-2.rs:11:26
|
LL | ($p: path) => (use ::$p {S, Z});
| ^^ expected identifier
...
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