Skip to content

Fix debuginfo around move|| closures #19356

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
nikomatsakis opened this issue Nov 27, 2014 · 0 comments · Fixed by #19363
Closed

Fix debuginfo around move|| closures #19356

nikomatsakis opened this issue Nov 27, 2014 · 0 comments · Fixed by #19363
Labels
A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.)

Comments

@nikomatsakis
Copy link
Contributor

As part of PR #19338, the test case debuginfo/var-captured-in-sendable-closure.rs had to be commented out.

cc @michaelwoerister

@michaelwoerister michaelwoerister added the A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.) label Nov 27, 2014
bors added a commit that referenced this issue Nov 28, 2014
…, r=alexcrichton

This PR lets `rustc` generate debuginfo for variables captured by unboxed closures. 

Fixes #19356

@nikomatsakis This PR will probably conflict with #19338. If this gets merged before, you should be able to just leave the test case as it is (maybe remove the `#![feature(unboxed_closures)]` directive).
lnicola pushed a commit to lnicola/rust that referenced this issue Apr 28, 2025
fix: Avoid recursively debug printing crates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants