E0364: Bad output for macros/no explanation of #[macro_export]
#97628
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-papercut
Diagnostics: An error or lint that needs small tweaks.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: playground
The current output is:
Ideally the output should probably look like:
This error does not help explain how to fix it. In addition to explaining
#[macro_export]
,pub(crate) use foo;
could also be shown, so the user can decide what they wanted to do.The text was updated successfully, but these errors were encountered: