Skip to content

Commit

Permalink
Auto merge of rust-lang#2784 - bryangarza:future-sizes-tests, r=RalfJung
Browse files Browse the repository at this point in the history
Add tests for moving data across await point

This patch adds a few tests to assert the current behavior when passing data across an await point. This will help to test out an upcoming fix for the issue of arguments in async functions growing in size because of the generator upvar that is generated when we desugar the async function.

See rust-lang/rust#62958

Also relates to rust-lang/rust#107500

FYI `@oli-obk` `@pnkfelix`
  • Loading branch information
bors committed Feb 18, 2023
2 parents b4d7ed1 + 5883674 commit a367bac
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit a367bac

Please sign in to comment.