-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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_fields`#![feature(unsafe_fields)]``#![feature(unsafe_fields)]`T-langRelevant to the language teamRelevant to the language team
Description
This is a tracking issue for:
The feature gate for the issue is #![feature(unsafe_fields)].
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
- Approve as lang experiment.
- Accept an RFC.
- Implement in nightly.
- Implement the unsafe-fields RFC. #132915
- Do not implement unsafe auto traits for types with unsafe fields #133934
- Make
Copyunsafe to implement for ADTs withunsafefields #134008 - Add rustfmt support
- Add
clippy::missing_safety_docsupport - Add rustdoc support
- Add documentation to the dev guide.
- See the instructions.
- Add documentation to the reference.
- See the instructions.
- Add formatting for new syntax to the style guide.
- See the nightly style procedure.
- Stabilize.
- See the instructions.
Unresolved Questions
- If the syntax for restrictions does not change, what is the ordering of keywords on a field that is both unsafe and mut-restricted?
Related
TODO.
Reactions are currently unavailable
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_fields`#![feature(unsafe_fields)]``#![feature(unsafe_fields)]`T-langRelevant to the language teamRelevant to the language team
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Exploration