You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
…komatsakis
Fix wording for out-of-crate macro error
This fixes the wording of the note for out-of-crate macro errors to fixrust-lang#36469
The previous wording came from older logic in the PR that was replaced without updating the note.
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:
But the macro isn't in the standard library; rather it's in a crate that I imported.
cc @jonathandturner
The text was updated successfully, but these errors were encountered: