mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
14 lines
430 B
Plaintext
14 lines
430 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 1 previous error
|
|
|