about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-07-03 10:57:39 +0000
committerbors <bors@rust-lang.org>2019-07-03 10:57:39 +0000
commit8c6fb028ca887dff9ec2fe0a90398b6d5bf5fb45 (patch)
tree71228e2259622360b017d90b88686ba181e21856 /src/liballoc
parent8301de16dafc81a3b5d94aa0707ad83bdb56a599 (diff)
parentc6374cfbe2de22e46b4e7687fa733549114bf070 (diff)
downloadrust-8c6fb028ca887dff9ec2fe0a90398b6d5bf5fb45.tar.gz
rust-8c6fb028ca887dff9ec2fe0a90398b6d5bf5fb45.zip
Auto merge of #61995 - eddyb:hir-sep-ptr, r=petrochenkov
rustc: use a separate copy of P for HIR than for AST.

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
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions