"unused import" could be more helpful ("nothing to export") #123855
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Either an additional hint saying why this lint is complaining "There is nothing to export" Or a new lint or something.
Rationale and extra context
In more complex codebases it's not immediately obvious what the problem is. I'd prefer a message like "nothing to export".
Other cases
No response
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: