diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-02-07 17:57:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-07 17:57:15 +0100 |
| commit | 4b859c3f2f023c95b5aff6d330e2eabe71253b39 (patch) | |
| tree | 94822e46a22fb8687c72acf8c4d865e8b06bc7fc /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 306dbaf5741a4d76cb2ba0c5feca24414cd1c51a (diff) | |
| parent | 7a7b2e352108e17dc4ac834b02ff59e7f81a2c5d (diff) | |
| download | rust-4b859c3f2f023c95b5aff6d330e2eabe71253b39.tar.gz rust-4b859c3f2f023c95b5aff6d330e2eabe71253b39.zip | |
Rollup merge of #107695 - Swatinem:futcallx3, r=compiler-errors
Add test for Future inflating arg size to 3x This adds one more test that should track improvements to generator layout, like https://github.com/rust-lang/rust/issues/62958 and https://github.com/rust-lang/rust/issues/62575. In particular, this test highlights suboptimal layout, as the storage for the argument future is not being reused across its usage as `upvar`, `local` and `awaitee` (being polled to completion). This is on top of https://github.com/rust-lang/rust/pull/107692 (as those would conflict with each other) It is a minimal repro for code mentioned in https://github.com/moka-rs/moka/issues/212#issuecomment-1416914616 (CC `@tatsuya6502)`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
