Allow Foo { .. } patterns to match non-struct types - #159295
Jules-Bertholet wants to merge 3 commits into
Conversation
3bf9294 to
c2e2353
Compare
This comment has been minimized.
This comment has been minimized.
c2e2353 to
62c9fe1
Compare
|
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. |
a92adc3 to
fb354ce
Compare
|
This should be ready for at least an initial review—though conditional on t-lang approving the RFC, of course. r? @Nadrieril |
|
|
|
Some changes occurred in match checking cc @Nadrieril |
54ee721 to
97b2379
Compare
This comment has been minimized.
This comment has been minimized.
97b2379 to
69d537c
Compare
|
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.
|
☔ The latest upstream changes (presumably #163157) made this pull request unmergeable. Please resolve the merge conflicts by rebasing. |
Implements rust-lang/rfcs#3753.
r? @ghost
@rustbot label T-lang A-patterns