Suggestion for pub(crate) and reexports are tricked #57411
Labels
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`.
C-bug
Category: This is a bug.
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
First reported upstream, this code:
generates the warning
but the suggested fix doesn't compile!
The text was updated successfully, but these errors were encountered: