Skip to content

Deprecate linked_list_extras methods. - #74644

Merged
bors merged 1 commit into
rust-lang:masterfrom
crlf0710:drop_old_stuff
Aug 1, 2020
Merged

Deprecate linked_list_extras methods.#74644
bors merged 1 commit into
rust-lang:masterfrom
crlf0710:drop_old_stuff

Conversation

@crlf0710

Copy link
Copy Markdown
Member

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

r? @Amanieu

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

bors commented Jul 28, 2020

Copy link
Copy Markdown
Collaborator

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

@crlf0710

Copy link
Copy Markdown
MemberAuthor

Rebased.

@crlf0710
crlf0710 requested a review from AmanieuJuly 28, 2020 15:40
@Amanieu

Copy link
Copy Markdown
Member

@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
Copy Markdown
Contributor

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
Copy Markdown
Member

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

@crlf0710

Copy link
Copy Markdown
MemberAuthor

Sure, will do.

@Amanieu

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Jul 31, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit dc21178 has been approved by Amanieu

@borsbors 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 .
Closesrust-lang#27794.
r? @Amanieu
@JohnTitorJohnTitor mentioned this pull request Jul 31, 2020
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

bors commented Aug 1, 2020

Copy link
Copy Markdown
Collaborator

⌛ Testing commit dc21178 with merge b544b43...

@bors
bors merged commit ab4570e into rust-lang:masterAug 1, 2020
@crlf0710crlf0710 changed the title Remove linked_list_extras methods.Deprecate linked_list_extras methods.Sep 10, 2020
@cuvipercuviper added this to the 1.47.0 milestone May 2, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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

@crlf0710@bors@Amanieu@LukasKalbertodt@cuviper@rust-highfive