-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking Issue for RFC 3467: UnsafePinned #125735
Copy link
Copy link
Open
Labels
B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.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 RFCF-unsafe_pinned`#![feature(unsafe_pinned)]``#![feature(unsafe_pinned)]`T-langRelevant to the language teamRelevant to the language teamT-opsemRelevant to the opsem teamRelevant to the opsem team
Metadata
Metadata
Assignees
Labels
B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.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 RFCF-unsafe_pinned`#![feature(unsafe_pinned)]``#![feature(unsafe_pinned)]`T-langRelevant to the language teamRelevant to the language teamT-opsemRelevant to the opsem teamRelevant to the opsem team
Type
Fields
Give feedbackNo fields configured for issues without a type.
This is a tracking issue for RFC 3467:
UnsafePinned.The feature gate for the issue is
#![feature(unsafe_pinned)].About tracking issues
Tracking issues are used to record the overall progress of implementation. They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions. A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature. Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
UnsafePinnedimplementation [Part 1: Libs] #137043UnsafePinnedimplementation [Part 2: Lowering] #139896Unresolved Questions
&UnsafePinnedpermit mutation or not? Also see Decide what to do aboutUnsafePinnedand safePin::as_ref#137750Send,Sync,Copy,Cloneshould this type implement under which conditions? Also see this.Freezefirst? And what about the equivalent trait for&mutaliasing (UnpinUnsafein the RFC)?getmethods?Related
Implementation history
TODO.