Files
rust/tests/ui/imports/import-prefix-macro-2.stderr

14 lines
453 B
Plaintext
Raw Normal View History

2024-04-18 20:09:37 +10:00
error: expected identifier, found metavariable
2018-12-25 08:56:47 -07:00
--> $DIR/import-prefix-macro-2.rs:11:26
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | ($p: path) => (use ::$p {S, Z});
2024-04-18 20:09:37 +10:00
| ^^ expected identifier, found metavariable
2018-08-08 14:28:26 +02:00
...
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)
2018-08-08 14:28:26 +02:00
error: aborting due to 1 previous error
2018-08-08 14:28:26 +02:00