Allow Foo { .. } patterns to match non-struct types - #159295
Open
Jules-Bertholet wants to merge 3 commits into
Open
Allow Foo { .. } patterns to match non-struct types#159295Jules-Bertholet wants to merge 3 commits into
Foo { .. } patterns to match non-struct types#159295Jules-Bertholet wants to merge 3 commits into
Conversation
Jules-Bertholet
force-pushed
the
rfc-3753
branch
3 times, most recently
from
July 14, 2026 15:44
3bf9294 to
c2e2353
Compare
This comment has been minimized.
This comment has been minimized.
Jules-Bertholet
force-pushed
the
rfc-3753
branch
from
July 14, 2026 22:10
c2e2353 to
62c9fe1
Compare
Collaborator
|
Error: Label needs-rfc can only be set by Rust team members Please file an issue on GitHub at triagebot if there's a problem with this bot, or reach out on #triagebot on Zulip. |
Jules-Bertholet
force-pushed
the
rfc-3753
branch
3 times, most recently
from
July 15, 2026 02:15
a92adc3 to
fb354ce
Compare
Contributor
Author
|
This should be ready for at least an initial review—though conditional on t-lang approving the RFC, of course. r? @Nadrieril |
Jules-Bertholet
marked this pull request as ready for review
July 15, 2026 02:17
Collaborator
|
|
Collaborator
|
Some changes occurred in match checking cc @Nadrieril |
Jules-Bertholet
force-pushed
the
rfc-3753
branch
2 times, most recently
from
July 15, 2026 02:19
54ee721 to
97b2379
Compare
theemathas
reviewed
Jul 15, 2026
This comment has been minimized.
This comment has been minimized.
Jules-Bertholet
force-pushed
the
rfc-3753
branch
from
August 25, 2026 14:04
97b2379 to
69d537c
Compare
Collaborator
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
This comment has been minimized.
This comment has been minimized.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements rust-lang/rfcs#3753.
r? @ghost
@rustbot label T-lang A-patterns