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

Don't panic on multi-field tuple variants #9

Closed
TedDriggs opened this issue Jan 3, 2023 · 1 comment
Closed

Don't panic on multi-field tuple variants #9

TedDriggs opened this issue Jan 3, 2023 · 1 comment
Labels

Comments

@TedDriggs
Copy link
Owner

TedDriggs commented Jan 3, 2023

See rust-lang/rust#106298

Immediate cause is probably this unwrap call, which panics for non-newtype variants rather than returning a good error.

@TedDriggs
Copy link
Owner Author

@Veetaha the ICE should now be fixed; panics have been removed from the code. It occurs to me that supporting tuple variants is totally possible - if that's something you want supported, please file an issue and I'll take a look at it.

@TedDriggs TedDriggs added the bug label Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant