Closed
Description
I created two crates, exported a macro from one to the other, and invoked the macro in the latter. The macro expands to code that doesn't compile. The error is:
error[E0425]: unresolved name `Wrong`
--> src/lib.rs:6:9
|
6 | a!();
| ^^^^^
|
= note: this error originates in a macro from the standard library
error: aborting due to previous error
error: Could not compile `b`.
But the macro isn't in the standard library; rather it's in a crate that I imported.
rustc 1.13.0-nightly (923bac459 2016-09-06)
binary: rustc
commit-hash: 923bac45964940c56ab1075fb7980896de1eb620
commit-date: 2016-09-06
host: x86_64-apple-darwin
release: 1.13.0-nightly
Metadata
Metadata
Assignees
Labels
No labels