-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking issue for const Pin methods #76654
Copy link
Copy link
Closed
Labels
A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)Area: Constant evaluation, covers all const contexts (static, const fn, ...)T-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
A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)Area: Constant evaluation, covers all const contexts (static, const fn, ...)T-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.
Constify methods of
core::pin::Pinunder the featureconst_pin.Implementation: #76655
Methods in
const_pin(stable since 1.84.0 - #130136):newnew_uncheckedget_refinto_refget_mutget_unchecked_mutstatic_refstatic_mutMethods in
const_pin2(stable since 1.84.0 - #131904):into_innerinto_inner_uncheckedThe
const_pin2methods will need#[rustc_allow_const_fn_unstable(const_precise_live_drops)]but that has been approved here.