diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2019-11-26 22:51:02 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2019-11-26 22:51:02 +0100 |
| commit | b99513be57bfb21c546b29999fc541a402e27a10 (patch) | |
| tree | 142749e00cb64c67f9175206b9e09bc298790e82 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 58a9c73bbd9e115888353aa81ee59ee4862c8cf9 (diff) | |
| download | rust-b99513be57bfb21c546b29999fc541a402e27a10.tar.gz rust-b99513be57bfb21c546b29999fc541a402e27a10.zip | |
Have Queries own the GlobalCtxt.
The construction of the GlobalCtxt is moved from a generator's stack to the Queries struct. Since the GlobalCtxt requires the HIR Forest and the arenas to live longer, those are moved into Queries the same way. The resulting handling of objects is more brittle, because consumers of the Once objects need to be careful of their initialisation.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
