Skip to content

diag: handle CoroutineClosure in fulfillment span and explain_borrow#574

Open
SebTardif wants to merge 1 commit into
mainfrom
fix-diag-coroutine-closure-batch-r70
Open

diag: handle CoroutineClosure in fulfillment span and explain_borrow#574
SebTardif wants to merge 1 commit into
mainfrom
fix-diag-coroutine-closure-batch-r70

Conversation

@SebTardif

Copy link
Copy Markdown
Owner

Summary

  • adjust_fulfillment_errors: include CoroutineClosure when matching self_ty for span overlap with Closure/Coroutine
  • explain_borrow: label destructor type as "async closure" for CoroutineClosure

Closes #569

Test plan

- adjust_fulfillment_errors: include CoroutineClosure with Closure/Coroutine
  when attributing trait ref self_ty spans to the def
- explain_borrow: describe drop as async closure for CoroutineClosure

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
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.

diagnostics: missing CoroutineClosure in fulfillment span adjust and explain_borrow destructor

1 participant