-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Don't explicitly include upvars in the DINode produced by build_generator_variant_struct_type_di_node #107653
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
…ator_variant_struct_type_di_node. The upvars already appear in each individual variant, so this code is just causing them to be listed twice.
r? @oli-obk (rustbot has picked a reviewer for you, use r? to override) |
Do you have some output to show this code works for async fn, async blocks, etc? Regarding the duplication, so there's real duplication of these fields in the case of, e.g. #62958. Are you sure that it's not just that at play? Specifically, I'm worried that dropping the |
Yeah this isn't quite good enough yet. |
The job Click to see the possible cause of the failure (guessed by this bot)
|
The upvars already appear in each individual variant, so this code is just causing them to be listed twice.