Skip to content
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

get rid of visit_place recursion #61653

Merged
merged 3 commits into from
Jun 9, 2019
Merged

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Jun 8, 2019

r? @spastorino

this is groundwork for #60913, since after that PR we won't be able to implement visit_place in a recursive manner without heavy cloning everywhere.

cc @eddyb this touches const qualif

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 8, 2019
location: Location) {
// this is calling `super_place` in preparation for changing `Place` to be
// a struct with a base and a slice of projections. `visit_place` should only ever
// be called for the base place now.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would try to be more clear that you meant the root Place here.

@spastorino
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Jun 8, 2019

📌 Commit b137a47 has been approved by spastorino

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 8, 2019
@bors
Copy link
Contributor

bors commented Jun 9, 2019

⌛ Testing commit b137a47 with merge 57e13e0...

bors added a commit that referenced this pull request Jun 9, 2019
get rid of visit_place recursion

r? @spastorino

this is groundwork for #60913, since after that PR we won't be able to implement `visit_place` in a recursive manner without heavy cloning everywhere.

cc @eddyb this touches const qualif
@bors
Copy link
Contributor

bors commented Jun 9, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: spastorino
Pushing 57e13e0 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jun 9, 2019
@bors bors merged commit b137a47 into rust-lang:master Jun 9, 2019
@oli-obk oli-obk deleted the visit_place_recursion branch March 16, 2021 12:14
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.

4 participants