-
-
Notifications
You must be signed in to change notification settings - Fork 17.2k
Tracking Issue for fn const BuildHasherDefault::new() #123197
Copy link
Copy link
Closed
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
Description
Activity
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
Feature gate:
#![feature(build_hasher_default_const_new)]This is a tracking issue for a new
newclass method for BuildHasherDefault. It allows creating a BuildHasherDefault in const contexts.Because HashMap::with_hasher constness is being stabilized in #118427 this will in turn allow creating empty
HashMap<K,V,BuildHasherDefault<H>>in const context for anyH: Default + Hasher.Public API
Steps / History
Unresolved Questions
@rustbot claim
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩