Skip to content

Conversation

@estebank
Copy link
Contributor

@estebank estebank commented Jan 16, 2026

Follow up to #134628. Tracking issue #143894.

r? @fmease

cc @fee1-dead @oli-obk

This doesn't allow for const H: HashSet<()> = Default::default();, but would allow for it to work with a custom hasher, which would enable the Fx* family to work.

@rustbot rustbot added 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 Jan 16, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 16, 2026

fmease is not on the review rotation at the moment.
They may take a while to respond.

@fmease fmease changed the title Add const Default impls for HashSet and HashMap with custom Hahser Add const Default impls for HashSet and HashMap with custom Hasher Jan 16, 2026
@estebank estebank force-pushed the const-default-hashmap branch from 3173ea4 to 5f58acb Compare January 16, 2026 16:32
@oli-obk
Copy link
Contributor

oli-obk commented Jan 17, 2026

@bors r+ rollup

@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 17, 2026

📌 Commit 5f58acb has been approved by oli-obk

It is now in the queue for this repository.

@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 Jan 17, 2026
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. 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.

4 participants