-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustc: use a separate copy of P for HIR than for AST. #61995
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