rustc: use a separate copy of P for HIR than for AST.#61995
rustc: use a separate copy of P for HIR than for AST.#61995bors merged 3 commits intorust-lang:masterfrom
Conversation
This comment has been minimized.
This comment has been minimized.
|
@petrochenkov Rebased and fixed nits. |
|
@bors r+ |
|
📌 Commit c6374cf has been approved by |
|
⌛ Testing commit c6374cf with merge 6a21be2954d05f6fb1ebacfa69f78b2556eef00e... |
|
@bors retry Yielding priority to the Azure migration. |
rustc: use a separate copy of P for HIR than for AST. Note: this currently includes/is based on top of rust-lang#61987. Like rust-lang#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
|
⌛ Testing commit c6374cf with merge 191b6d1b778c55ec8f274dbc562479af66aa9d8b... |
|
@bors retry Yielding priority to the stable rebuild. |
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
|
☀️ Test successful - checks-azure, checks-travis, status-appveyor |
|
📣 Toolstate changed by #61995! Tested on commit 8c6fb02. 💔 clippy-driver on windows: test-pass → build-fail (cc @Manishearth @llogiq @mcarton @oli-obk @phansch, @rust-lang/infra). |
Tested on commit rust-lang/rust@8c6fb02. Direct link to PR: <rust-lang/rust#61995> 💔 clippy-driver on windows: test-pass → build-fail (cc @Manishearth @llogiq @mcarton @oli-obk @phansch, @rust-lang/infra). 💔 clippy-driver on linux: test-pass → build-fail (cc @Manishearth @llogiq @mcarton @oli-obk @phansch, @rust-lang/infra).
rustup rust-lang/rust#61995 changelog: none
rustup rust-lang/rust#61995 changelog: none
rustup rust-lang/rust#61995 changelog: none
Changes: ```` Remove unused import rustup rust-lang#61995 Fix allow bug in `trivially_copy_pass_by_ref` readme: fix urls in the license Fix `match_same_arms` false negative Reenable cargo and rls tests in travis Test for melted ICE rust-lang#4121 Fix `never_loop` false positive Running rustfmt on test Removed use of intrinsics::uninit from tests. Making try_err machine applicable PR comments Adding try_err lint ```` Fixes rust-lang#62338
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 noClone, or the ability to mutate after allocation.There is still
into_inner/into_iter, but they're only exposed forhir::lowering, and they would take more work to untangle.r? @petrochenkov cc @rust-lang/compiler