Suggest code correction for E0446 - private type in public interface #112284
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
A-visibility
Area: Visibility / privacy
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
Novice developers might be confused by the current wording of "leaking private type", and this seems like an easy help message fix.
Other cases
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: