Skip to content

rustc: use a separate copy of P for HIR than for AST.#61995

Merged
bors merged 3 commits intorust-lang:masterfrom
eddyb:hir-sep-ptr
Jul 3, 2019
Merged

rustc: use a separate copy of P for HIR than for AST.#61995
bors merged 3 commits intorust-lang:masterfrom
eddyb:hir-sep-ptr

Conversation

@eddyb
Copy link
Member

@eddyb eddyb commented Jun 20, 2019

Note: this currently includes/is based on top of #61987.

Like #61968, but goes one step further and uses a separate P<...> for the HIR, with no Clone, or the ability to mutate after allocation.
There is still into_inner/into_iter, but they're only exposed for hir::lowering, and they would take more work to untangle.

r? @petrochenkov cc @rust-lang/compiler

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants