mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
14 lines
450 B
Plaintext
14 lines
450 B
Plaintext
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
|
|
|