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

Compiler: Implement correct match binding modes #64

Open
seanbaxter opened this issue Sep 23, 2024 · 0 comments
Open

Compiler: Implement correct match binding modes #64

seanbaxter opened this issue Sep 23, 2024 · 0 comments

Comments

@seanbaxter
Copy link
Collaborator

https://doc.rust-lang.org/reference/patterns.html#binding-modes
https://github.com/rust-lang/rfcs/blob/master/text/2005-match-ergonomics.md

My default binding mode yields lvalues instead of new objects and that gets me into trouble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant