Skip to content

Add LinkedList::allocator - #165697

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
whiplashvin:linkedlist-allocator
Nov 9, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
whiplashvin:linkedlist-allocator

Conversation

@whiplashvin

Copy link
Copy Markdown
Contributor

Added an api extension LinkedList::allocator the same way Vec, VecDeque, BinaryHeap, BTreeMap and BTreeSet have it.

Tracking issue #163177

@rustbot rustbot added A-collections Area: `std::collections` (prefer A-binaryheap, A-btree, A-hashtable, A-linkedlist, A-vecdeque) A-linkedlist Area: `std::collections::LinkedList` S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Nov 9, 2026
@rustbot

rustbot commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

r? @nia-e

rustbot has assigned @nia-e.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: libs
  • libs expanded to 38 candidates
  • Random selection from 6 candidates

@nia-e

nia-e commented Nov 9, 2026

Copy link
Copy Markdown
Member

huh, good catch. thanks! linked list allocators will definitely need more work but if CI passes this is fine. I think this should also be const, and r=me once that's done

@whiplashvin

Copy link
Copy Markdown
Contributor Author

huh, good catch. thanks! linked list allocators will definitely need more work but if CI passes this is fine. I think this should also be const, and r=me once that's done

Done.

@nia-e

nia-e commented Nov 9, 2026

Copy link
Copy Markdown
Member

@bors r+ rollup

@rust-bors

rust-bors Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 840dc3b has been tentatively approved by nia-e

It will be put into the queue for this repository once PR CI succeeds.

@rust-bors rust-bors Bot 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 Nov 9, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Nov 9, 2026
…r=nia-e

Add LinkedList::allocator

Added an api extension LinkedList::allocator the same way `Vec`, `VecDeque`, `BinaryHeap`, `BTreeMap` and `BTreeSet` have it.

Tracking issue rust-lang#163177
rust-bors Bot pushed a commit that referenced this pull request Nov 9, 2026
…uwer

Rollup of 5 pull requests

Successful merges:

 - #165705 (`rust-analyzer` subtree update)
 - #165053 (Fix passing non-pointer value to `PlaceRef::new_sized` in `debug_poison_to_local`)
 - #165404 (Next solver unsize coercion diagnostics)
 - #165502 (Avoid terminator: None in custom mir parser)
 - #165697 (Add LinkedList::allocator)
@rust-bors
rust-bors Bot merged commit d25092b into rust-lang:main Nov 9, 2026
14 checks passed
@rustbot rustbot added this to the 1.102.0 milestone Nov 9, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 9, 2026
Rollup merge of #165697 - whiplashvin:linkedlist-allocator, r=nia-e

Add LinkedList::allocator

Added an api extension LinkedList::allocator the same way `Vec`, `VecDeque`, `BinaryHeap`, `BTreeMap` and `BTreeSet` have it.

Tracking issue #163177
ubiratansoares pushed a commit to ubiratansoares/rust-analyzer that referenced this pull request Nov 19, 2026
…uwer

Rollup of 5 pull requests

Successful merges:

 - rust-lang/rust#165705 (`rust-analyzer` subtree update)
 - rust-lang/rust#165053 (Fix passing non-pointer value to `PlaceRef::new_sized` in `debug_poison_to_local`)
 - rust-lang/rust#165404 (Next solver unsize coercion diagnostics)
 - rust-lang/rust#165502 (Avoid terminator: None in custom mir parser)
 - rust-lang/rust#165697 (Add LinkedList::allocator)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-collections Area: `std::collections` (prefer A-binaryheap, A-btree, A-hashtable, A-linkedlist, A-vecdeque) A-linkedlist Area: `std::collections::LinkedList` S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants