Skip to content

ide-diagnostics: add quickfix for private assoc item#22120

Open
cppcoffee wants to merge 1 commit intorust-lang:masterfrom
cppcoffee:ide-diag-quick-fix
Open

ide-diagnostics: add quickfix for private assoc item#22120
cppcoffee wants to merge 1 commit intorust-lang:masterfrom
cppcoffee:ide-diag-quick-fix

Conversation

@cppcoffee
Copy link
Copy Markdown

Add a diagnostic quickfix for private associated items by increasing their visibility to pub(crate) within the same crate and pub across crates. Also add coverage for the new fixes and update diagnostic expectations to include available assists.

AI-assisted: generated with Codex/OpenAI.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 21, 2026
Add a diagnostic quickfix for private associated items by increasing
their visibility to `pub(crate)` within the same crate and `pub`
across crates. Also add coverage for the new fixes and update
diagnostic expectations to include available assists.

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
AI-assisted: generated with Codex/OpenAI.
@cppcoffee cppcoffee force-pushed the ide-diag-quick-fix branch from 6a39720 to 359659e Compare April 22, 2026 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants