Skip to content

Allow pattern matching over structural types #469

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

Closed
pcwalton opened this issue Jun 10, 2011 · 1 comment
Closed

Allow pattern matching over structural types #469

pcwalton opened this issue Jun 10, 2011 · 1 comment
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR)

Comments

@pcwalton
Copy link
Contributor

We should be able to pattern match over tups and recs in particular.

@ghost ghost assigned marijnh Jul 11, 2011
@marijnh
Copy link
Contributor

marijnh commented Jul 11, 2011

(I left out tuple patterns, since the current plan is to drop tuples altogether.)

arielb1 pushed a commit to arielb1/rust that referenced this issue Apr 10, 2015
pdietl pushed a commit to pdietl/rust that referenced this issue Apr 23, 2020
Mention that #[cold] and #[inline] work on closures
ZuseZ4 added a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
* fix handling of const return activity

* zero differetval if ret is const

* fix Constant case

* fix formating
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
* Update permissions to hopefully push successfully now

* put permissions in the right spot
GuillaumeGomez pushed a commit to GuillaumeGomez/rust that referenced this issue Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR)
Projects
None yet
Development

No branches or pull requests

2 participants