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

Stabilize slice_partition_at_index #77639

Merged
merged 1 commit into from
Oct 13, 2020

Conversation

jagill
Copy link
Contributor

@jagill jagill commented Oct 7, 2020

This stabilizes slice_partition_at_index, including renaming partition_at_index* -> select_nth_unstable*.

Closes #55300

r? @Amanieu

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 7, 2020
@scottmcm
Copy link
Member

scottmcm commented Oct 7, 2020

Waiting on FCP from #55300 (comment) to finish; expected 2020-10-09.

@jonas-schievink jonas-schievink added relnotes Marks issues that should be documented in the release notes of the next release. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Oct 7, 2020
@jagill jagill force-pushed the stabilize-slice_partition_at_index branch 2 times, most recently from abe0d3c to df98879 Compare October 7, 2020 23:59
Copy link
Member

@Amanieu Amanieu left a comment

Choose a reason for hiding this comment

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

CI seems to be failing.

///
/// This function has been obsoleted by [`select_nth_unstable`], and will be removed in
/// a later release.
#[unstable(feature = "slice_partition_at_index", issue = "55300")]
Copy link
Member

Choose a reason for hiding this comment

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

Could you mark these as deprecated with a suggestion to use select_nth_unstable instead?

This stabilizes the functionality in slice_partition_at_index,
but under the names `select_nth_unstable*`.  The functions
`partition_at_index*` are left as deprecated, to be removed in
a later release.

Closes rust-lang#55300
@jagill jagill force-pushed the stabilize-slice_partition_at_index branch from df98879 to 01ac5a9 Compare October 12, 2020 04:08
@jagill
Copy link
Contributor Author

jagill commented Oct 12, 2020

I marked them as deprecated from version 1.49.0, which is the same as the new functions land. Tell me if there’s a better way!

@Amanieu
Copy link
Member

Amanieu commented Oct 12, 2020

Thanks!

@bors r+

@bors
Copy link
Contributor

bors commented Oct 12, 2020

📌 Commit 01ac5a9 has been approved by Amanieu

@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 Oct 12, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Oct 13, 2020
…_index, r=Amanieu

Stabilize slice_partition_at_index

This stabilizes slice_partition_at_index, including renaming `partition_at_index*` -> `select_nth_unstable*`.

Closes rust-lang#55300

r? @Amanieu
@bors
Copy link
Contributor

bors commented Oct 13, 2020

⌛ Testing commit 01ac5a9 with merge ec40181...

@bors
Copy link
Contributor

bors commented Oct 13, 2020

☀️ Test successful - checks-actions, checks-azure
Approved by: Amanieu
Pushing ec40181 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Oct 13, 2020
@bors bors merged commit ec40181 into rust-lang:master Oct 13, 2020
@rustbot rustbot added this to the 1.49.0 milestone Oct 13, 2020
@rust-log-analyzer
Copy link
Collaborator

Your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
##[command]git remote add origin https://github.com/rust-lang-ci/rust
##[command]git config gc.auto 0
##[command]git config --get-all http.https://github.com/rust-lang-ci/rust.extraheader
##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/*
##[error]fatal: could not read Username for 'https://github.com': terminal prompts disabled
##[warning]Git fetch failed with exit code 128, back off 2.331 seconds before retry.
##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/*
##[error]fatal: could not read Username for 'https://github.com': terminal prompts disabled
##[error]fatal: the remote end hung up unexpectedly
##[warning]Git fetch failed with exit code 128, back off 9.286 seconds before retry.
##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/*
##[error]fatal: could not read Username for 'https://github.com': terminal prompts disabled
##[error]Git fetch failed with exit code: 128
##[error]Exit code 1 returned from process: file name '/home/runner/runners/2.273.5/bin/Runner.PluginHost', arguments 'action "GitHub.Runner.Plugins.Repository.v1_0.CheckoutTask, Runner.Plugins"'.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @rust-lang/infra. (Feature Requests)

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. relnotes Marks issues that should be documented in the release notes of the next release. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tracking issue for slice_partition_at_index
8 participants