diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-06-04 04:48:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-04 04:48:11 +0200 |
| commit | 3a06a93f5999233807afba6109c6a29f768163a4 (patch) | |
| tree | eeb3baaec3d493ff827c769fd0ece89118d56ac2 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 156351419611f3ee6f6b1327e6021676630e64a8 (diff) | |
| parent | 2bb92aa02ff98e13970602e7a7f9555050f1dbe7 (diff) | |
| download | rust-3a06a93f5999233807afba6109c6a29f768163a4.tar.gz rust-3a06a93f5999233807afba6109c6a29f768163a4.zip | |
Rollup merge of #61413 - davidtwco:async-argument-order-in-a-sane-way, r=eddyb
Re-implement async fn drop order lowering This PR re-implements the async fn drop order lowering changes so that it all takes place in HIR lowering, building atop the work done by @eddyb to refactor `Res::Upvar`. Previously, this types involved in the lowering were constructed in libsyntax as they had to be used during name resolution and HIR lowering. This was awful because none of that logic should have existed in libsyntax. This commit also changes `ArgSource` to keep a `HirId` to the original argument pattern rather than a cloned copy of the pattern. Only b7aa4ed and 71fb8fa should be reviewed, any other commits are from #61276 (though 447e336 might end up staying in this PR). As a nice side effect, it also fixes #61187 (cc #61192). r? @eddyb cc @cramertj
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
