-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Irrefutable bindings matching code is broken #3235
Comments
for some reason that is fairly unclear to me, |
I changed the title to my preferred solution. |
Ugh, this has been a pain in the you-know-what. Not going to be ready for 0.5 |
Also causes this strange behaviour:
Returns However:
Is fine. |
Nominating for the well-defined milestone. This makes working with non-copyable tuples laborious, and actually has serious performance implications for destructuring assignment (at least I think that's related to this bug, copies are generated when they shouldn't be). Failing the well-defined milestone, I think this would fit well into the feature-complete milestone. |
I don't feel like this fits under anything except production-ready, but I agree with nominating it. |
For what it's worth, I don't think that this is necessarily the right fix anymore. But the bug is real. |
Update the title to reflect the general bug. |
Very close to fixing this. I've got a branch that's been slowly progress towards stability. |
accepted for backwards-compatible milestone |
a48ca32 fixes |
…e println macro (rust-lang#3280) Extract tests from the discussion in rust-lang#3235. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses. --------- Co-authored-by: Celina G. Val <[email protected]>
produces:
Happens with structs, tuples, etc too.
The text was updated successfully, but these errors were encountered: