Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix a bug where enum variants were not considered properly in type ns resolution #18976

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

ChayimFriedman2
Copy link
Contributor

@ChayimFriedman2 ChayimFriedman2 commented Jan 19, 2025

They should be considered just as well as in value ns, for example for struct literals.

Fixes #18974. I think this needs a beta backport.

… resolution

They should be considered just as well as in value ns, for example for struct literals.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 19, 2025
@ChayimFriedman2 ChayimFriedman2 changed the title fix: Fix a bug where enum variants were not considered properly in type ns… fix: Fix a bug where enum variants were not considered properly in type ns resolution Jan 19, 2025
@Veykril Veykril added this pull request to the merge queue Jan 20, 2025
Merged via the queue into rust-lang:master with commit 40ba51c Jan 20, 2025
9 checks passed
@ChayimFriedman2 ChayimFriedman2 deleted the non-module-generic-args branch January 21, 2025 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-needs-backporting 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.

Compileable code still reports an issue in rust-analyzer
3 participants