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

add debuginfo for unboxed closures #17184

Closed

Conversation

nathantypanski
Copy link
Contributor

This catches two unhandled patterns in middle/trans/debuginfo.rs where a
ty::ty_unboxed_closure could show up, preventing various potential ICEs
when #[feature(unboxed_closures)] is used with -g.

It also updates the test case from #17093 in response to new information
from #17021 showing that the test still caused an ICE when compiling
with debuginfo.

Closes #17021.

This catches two unhandled patterns in middle/trans/debuginfo.rs where a
ty::ty_unboxed_closure could show up, preventing various potential ICEs
when #[feature(unboxed_closures)] is used with `-g`.

It also updates the test case from rust-lang#17093 in response to new information
from rust-lang#17021 showing that the test still caused an ICE when compiling
with debuginfo.

Closes rust-lang#17021.
@nathantypanski
Copy link
Contributor Author

This isn't ready for merge just yet (still test case failures). I'll update the PR and maybe poke my head into IRC when it's better.

@nathantypanski
Copy link
Contributor Author

Closing this until I figure it out or something better pops up. I'm not making progress on these errors.

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

Successfully merging this pull request may close these issues.

ICE when using unboxed closures
1 participant