Skip to content

fix: Autoimport enum variants#22385

Merged
Veykril merged 2 commits into
rust-lang:masterfrom
ChayimFriedman2:import-variant
May 20, 2026
Merged

fix: Autoimport enum variants#22385
Veykril merged 2 commits into
rust-lang:masterfrom
ChayimFriedman2:import-variant

Conversation

@ChayimFriedman2
Copy link
Copy Markdown
Contributor

Fixes #22377.

Since they can be referenced without the enum, and this prevents autoimport of them.
So they can be autoimported for external crates.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 17, 2026
@Veykril Veykril added this pull request to the merge queue May 20, 2026
Merged via the queue into rust-lang:master with commit b5df936 May 20, 2026
18 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 20, 2026
@ChayimFriedman2 ChayimFriedman2 deleted the import-variant branch May 20, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannnot auto import enum variant

3 participants