Skip to content

Allow using Vec::<T>::place_back for T: !Clone #40909

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 6, 2017

Conversation

nagisa
Copy link
Member

@nagisa nagisa commented Mar 29, 2017

The place_back was likely put into block with T: Clone bound by mistake.

The place_back was likely put into block with `T: Clone` bound by mistake.
@rust-highfive
Copy link
Contributor

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@apasel422
Copy link
Contributor

My bad!

@sfackler
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Mar 30, 2017

📌 Commit 1e3bc5a has been approved by sfackler

@bors
Copy link
Collaborator

bors commented Mar 30, 2017

⌛ Testing commit 1e3bc5a with merge 47cd926...

@bors
Copy link
Collaborator

bors commented Mar 30, 2017

💔 Test failed - status-appveyor

@alexcrichton
Copy link
Member

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Collaborator

bors commented Mar 30, 2017

💡 This pull request was already approved, no need to approve it again.

  • This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.
  • There's another pull request that is currently being tested, blocking this pull request: change the strategy for diverging types #40224

@bors
Copy link
Collaborator

bors commented Mar 30, 2017

📌 Commit 1e3bc5a has been approved by alexcrichton

@nagisa
Copy link
Member Author

nagisa commented Apr 1, 2017

This PR is still reflected as failed on the queue, despite the approval or the retry.

@alexcrichton
Copy link
Member

@bors: retry

@bors
Copy link
Collaborator

bors commented Apr 2, 2017

⌛ Testing commit 1e3bc5a with merge 495862b...

@bors
Copy link
Collaborator

bors commented Apr 2, 2017

💔 Test failed - status-travis

@bluss
Copy link
Member

bluss commented Apr 3, 2017

The constraints per impl block are a vestige of older Rust anyway, it should be cleaned up (a single impl block for the inherent methods).

@alexcrichton
Copy link
Member

alexcrichton commented Apr 3, 2017 via email

arielb1 pushed a commit to arielb1/rust that referenced this pull request Apr 5, 2017
…chton

Allow using Vec::<T>::place_back for T: !Clone

The place_back was likely put into block with `T: Clone` bound by mistake.
bors added a commit that referenced this pull request Apr 6, 2017
Rollup of 12 pull requests

- Successful merges: #40479, #40561, #40709, #40815, #40909, #40927, #40943, #41015, #41028, #41052, #41054, #41065
- Failed merges:
@bors bors merged commit 1e3bc5a into rust-lang:master Apr 6, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants