-
-
Notifications
You must be signed in to change notification settings - Fork 16.1k
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-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(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