Add suggestion to remove visibility qualifier in error[E0449]: visibility qualifiers are not permitted here
for cargo fix
#123529
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
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
This error has a very trivial no-nonsense solution, and it would be nice for the compiler to provide a suggestion so that it can can easily be fixed with
cargo fix
.Other cases
No response
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: