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: filter out cfg-disabled fields when lowering record patterns #16427

Merged
merged 2 commits into from Jan 27, 2024

Conversation

Young-Flash
Copy link
Member

we should filter out field with disabled cfg when lowering ast RecordPat to hir.

close #16169

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 25, 2024
@Veykril
Copy link
Member

Veykril commented Jan 27, 2024

Thanks!
@bors r+

@bors
Copy link
Collaborator

bors commented Jan 27, 2024

📌 Commit 1374bc8 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Jan 27, 2024

⌛ Testing commit 1374bc8 with merge 7219414...

@bors
Copy link
Collaborator

bors commented Jan 27, 2024

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing 7219414 to master...

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.

Struct Deconstruct with cfg is reported as erroneous
4 participants