Tracking Issue for RFC 3467: UnsafePinned · Issue #125735 · rust-lang/rust (original) (raw)
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
- Accept an RFC.
- Implement.
- Add documentation to the dev guide.
- See the instructions.
- Add documentation to the reference.
- See the instructions.
- Stabilize.
Unresolved Questions
- Do we want to bikeshed the name further before stabilization?
- Should
&UnsafePinned
permit mutation or not? Also see Decide what to do about UnsafePinned and safe Pin::as_ref #137750 - Which of
Send
,Sync
,Copy
,Clone
should this type implement under which conditions? Also see this. - Do we want to stabilize
Freeze
first? And what about the equivalent trait for&mut
aliasing (UnpinUnsafe
in the RFC)?
Related
Implementation history
TODO.