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

Deprecate linked_list_extras methods. #74644

Merged
merged 1 commit into from
Aug 1, 2020
Merged

Conversation

crlf0710
Copy link
Member

Removing these in favor of the Cursor API in #58533 .
Closes #27794.

r? @Amanieu

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 22, 2020
@bors
Copy link
Contributor

bors commented Jul 28, 2020

☔ The latest upstream changes (presumably #73265) made this pull request unmergeable. Please resolve the merge conflicts.

@crlf0710
Copy link
Member Author

Rebased.

@crlf0710 crlf0710 requested a review from Amanieu July 28, 2020 15:40
@Amanieu
Copy link
Member

Amanieu commented Jul 28, 2020

@rust-lang/libs Do we want to add a deprecation period for these unstable methods or can we just remove them directly?

@LukasKalbertodt
Copy link
Member

I think I would prefer having a deprecation period. We did that for Vec::remove_item, too, and I could imagine linked_list_extras to be used fairly often. Also, the deprecation message can point to the new API, which is a better error than "method does not exist".

@Amanieu
Copy link
Member

Amanieu commented Jul 29, 2020

@crlf0710 Could you change your PR to deprecate these methods instead of removing them?

@crlf0710
Copy link
Member Author

Sure, will do.

@Amanieu
Copy link
Member

Amanieu commented Jul 31, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Jul 31, 2020

📌 Commit dc21178 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 Jul 31, 2020
Manishearth added a commit to Manishearth/rust that referenced this pull request Jul 31, 2020
Remove `linked_list_extras` methods.

Removing these in favor of the `Cursor` API in rust-lang#58533 .
Closes rust-lang#27794.

r? @Amanieu
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 31, 2020
Rollup of 6 pull requests

Successful merges:

 - rust-lang#74644 (Remove `linked_list_extras` methods.)
 - rust-lang#74968 (Run all tests if have no specified tests)
 - rust-lang#74982 (1.45.2 release notes)
 - rust-lang#74984 (Miri: fix ICE when unwinding past topmost stack frame)
 - rust-lang#74986 (fix part of comparison that would always evaluate to "true", probably an oversight)
 - rust-lang#74991 (Fix Const-Generic Cycle ICE rust-lang#74199)

Failed merges:

r? @ghost
@bors
Copy link
Contributor

bors commented Aug 1, 2020

⌛ Testing commit dc21178 with merge b544b43...

@bors bors merged commit ab4570e into rust-lang:master Aug 1, 2020
@crlf0710 crlf0710 changed the title Remove linked_list_extras methods. Deprecate linked_list_extras methods. Sep 10, 2020
@cuviper cuviper added this to the 1.47.0 milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

Tracking issue for extra linked list methods
6 participants