-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking Issue for const_maybe_uninit_assume_init #86722
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-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.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.
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-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Feature gate:
#![feature(const_maybe_uninit_assume_init)]This is a tracking issue for turning the methods
assume_init,assume_init_ref,assume_init_mut,slice_assume_init_ref,slice_assume_init_mutofMaybeUninitintoconst fns. Note that the implementation of the latter two slice related methods are currently behindmaybe_uninit_slice#63569, while the constness is behindconst_maybe_uninit_assume_init.Public API
Steps / History
MaybeUninitbehavior as const #90896 (assume_initandassume_init_ref)Unresolved Questions