Skip to content

Implement Zero for tuples #8019

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 Jul 24, 2013 · 2 comments
Closed

Implement Zero for tuples #8019

pcwalton opened this issue Jul 24, 2013 · 2 comments
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@pcwalton
Copy link
Contributor

This would allow things like let (emptyr, emptyt, emptyl, ls) = zero(); which would be pretty slick.

@alexcrichton
Copy link
Member

This should be implemented, is there an example of it not working?

@pcwalton
Copy link
Contributor Author

Oh, I was running into a method resolution bug. Closing.

flip1995 pushed a commit to flip1995/rust that referenced this issue Dec 17, 2021
Fix FP on `question_mark` if returned object is not local

Closes rust-lang#8019

changelog: [`question_mark`] Fix FP when returned object is not local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

2 participants