-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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.
Description
Feature gate: #![feature(pin_macro)]
This is a tracking issue for core::pin::pin!
, which allows pinning values to the stack / local scope.
Public API
// core::pin
/// API: `fn pin<T>($value: T) -> Pin<&'local mut T>`
pub macro pin($value:expr $(,)?) {
…
}
Steps / History
- Implementation: Add a stack-
pin!
-ning macro tocore::pin
. #93176 - Final comment period (FCP)
- Stabilization PR: Stabilize
::{core,std}::pin::pin!
#103800
(un)Resolved Questions
-
Should it be named
pin_mut!
instead, and have apin_ref!
counterpart? (cc @cramertj's Add a stack-pin!
-ning macro tocore::pin
. #93176 (comment))I claim this has been deemed resolved by this conclusion
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.