diff options
| author | David Wood <david@davidtw.co> | 2019-05-29 19:28:51 +0300 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2019-06-03 10:20:35 +0100 |
| commit | 1e5f496143aabf1d4d158d99b73afee7b00f0650 (patch) | |
| tree | 8f7a031fe975cd4d5fed86d0730b2a053cbad641 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 32771071e8d6731e2ff747de04aabe9a4d499b24 (diff) | |
| download | rust-1e5f496143aabf1d4d158d99b73afee7b00f0650.tar.gz rust-1e5f496143aabf1d4d158d99b73afee7b00f0650.zip | |
rustc: async fn drop order lowering in HIR
This commit 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.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
