diff options
| author | Taylor Cramer <cramertj@google.com> | 2019-03-13 17:42:23 -0700 |
|---|---|---|
| committer | Taylor Cramer <cramertj@google.com> | 2019-04-01 18:25:57 -0700 |
| commit | 749349fc9f7b12f212bca9ba2297e463328cb701 (patch) | |
| tree | 7fe6b270bbd786330dd0c6adc6dada8407f8f172 /src/test/incremental/thinlto | |
| parent | f694222887cf31f51e68927716c25736e62f037f (diff) | |
| download | rust-749349fc9f7b12f212bca9ba2297e463328cb701.tar.gz rust-749349fc9f7b12f212bca9ba2297e463328cb701.zip | |
Refactor async fn return type lowering
async fn now lowers directly to an existential type declaration rather than reusing the `impl Trait` return type lowering. As part of this, it lowers all argument-position elided lifetimes using the in-band-lifetimes machinery, creating fresh parameter names for each of them, using each lifetime parameter as a generic argument to the generated existential type. This doesn't currently successfully allow multiple argument-position elided lifetimes since `existential type` doesn't yet support multiple lifetimes where neither outlive the other. This requires a separate fix.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
