-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Tracking Issue for relaxed struct unsizing rules #81793
Copy link
Copy link
Closed
Labels
A-DSTsArea: Dynamically-sized types (DSTs)Area: Dynamically-sized types (DSTs)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-relaxed_struct_unsize`#![feature(relaxed_struct_unsize)]``#![feature(relaxed_struct_unsize)]`T-langRelevant to the language teamRelevant to the language teamdisposition-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-DSTsArea: Dynamically-sized types (DSTs)Area: Dynamically-sized types (DSTs)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-relaxed_struct_unsize`#![feature(relaxed_struct_unsize)]``#![feature(relaxed_struct_unsize)]`T-langRelevant to the language teamRelevant to the language teamdisposition-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.
The feature gate for the issue is
#![feature(relaxed_struct_unsize)].This features changes the when a struct implements
Unsizewhichis required for unsize coercion.
A generic struct previously implemented
Unsizeif and only if:Unsizefrom source to targetWith this feature gate the requirements are changed to:
Unsizefrom source to targetAbout 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
Implementation history
This feature has been implemented in #80726