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

Generalize array_into_iter lint to also lint for boxed arrays #67524

Merged
merged 1 commit into from
Dec 25, 2019

Conversation

LukasKalbertodt
Copy link
Member

Box is special in that a method call on a box can move the value out
of the box. Thus, the same backwards-compatibility problem can arise
for boxed arrays as for simple arrays.


CC #66145
r? @matthewjasper (as you reviewed the first PR)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 22, 2019
`Box` is special in that a method call on a box can move the value out
of the box. Thus, the same backwards-compatibility problem can arise
for boxed arrays as for simple arrays.
@matthewjasper
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Dec 24, 2019

📌 Commit f934b83 has been approved by matthewjasper

@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 Dec 24, 2019
@bors
Copy link
Contributor

bors commented Dec 25, 2019

⌛ Testing commit f934b83 with merge ed33453...

bors added a commit that referenced this pull request Dec 25, 2019
…hewjasper

Generalize `array_into_iter` lint to also lint for boxed arrays

`Box` is special in that a method call on a box can move the value out
of the box. Thus, the same backwards-compatibility problem can arise
for boxed arrays as for simple arrays.

---

CC #66145
r? @matthewjasper  (as you reviewed the first PR)
@bors
Copy link
Contributor

bors commented Dec 25, 2019

☀️ Test successful - checks-azure
Approved by: matthewjasper
Pushing ed33453 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Dec 25, 2019
@bors bors merged commit f934b83 into rust-lang:master Dec 25, 2019
@LukasKalbertodt LukasKalbertodt deleted the improve-into-iter-lint branch May 3, 2020 16:10
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.

6 participants