Skip to content

add debuginfo for unboxed closures#17184

Closed
nathantypanski wants to merge 1 commit intorust-lang:masterfrom
nathantypanski:unboxed-closures-ice
Closed

add debuginfo for unboxed closures#17184
nathantypanski wants to merge 1 commit intorust-lang:masterfrom
nathantypanski:unboxed-closures-ice

Conversation

@nathantypanski
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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