diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-03-02 00:50:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-02 00:50:07 +0100 |
| commit | b51272edfee1c5b8c0eb8016042d7550c19729c8 (patch) | |
| tree | 133b7c7bc40a5362730fec12eb471bf3ae8cb168 /compiler/rustc_mir/src/transform/coverage/graph.rs | |
| parent | 22ebb867f747c0832a3065abb333d6533c7f8340 (diff) | |
| parent | be069a687a4e1c231b8ae8c68ac0444fa6fee249 (diff) | |
| download | rust-b51272edfee1c5b8c0eb8016042d7550c19729c8.tar.gz rust-b51272edfee1c5b8c0eb8016042d7550c19729c8.zip | |
Rollup merge of #82018 - jyn514:no-dummy-cache, r=camelid,GuillaumeGomez
Remove the dummy cache in `DocContext`; delete RenderInfo The same information is available everywhere; the only reason the dummy cache was needed is because it was previously stored in three different places. This consolidates the info a bit so the cache in `DocContext` is used throughout. As a bonus, it also completely removes `RenderInfo`. - Return a `Cache` from `run_global_ctxt`, not `RenderInfo` - Remove the unused `render_info` from `run_renderer` - Remove RenderInfo altogether Helps with https://github.com/rust-lang/rust/pull/82014. The next step is to move the `populate()` call before the `collect_intra_doc_links` pass, which currently breaks because a) lots of the cache is populated in early passes, and b) intra_doc_links itself sets some info with `register_res`. I'm working on separate PR for that to avoid making too many big changes at once. r? `@GuillaumeGomez`
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions
