Open
Description
The feature gate for the issue is #![feature(offset_of_slice)]
.
This is a tracking issue for allowing offset_of to determine the offset of unsized fields whose tail is a slice, and hence their alignment and their offset is statically known.
Steps
- Implement the RFC
- Adjust documentation (see instructions on rustc-dev-guide)
- Formatting for new syntax has been added to the Style Guide (nightly-style-procedure)
- Stabilization PR: Stabilize
offset_of_slice
#139673
Implementation history
Metadata
Metadata
Assignees
Labels
Blocker: In-tree experiment; RFC pending, not yet approved or unneeded (requires FCP to stabilize).Blocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFC`#![feature(offset_of_slice)]`Status: The implementation is "complete" but it needs time to bake.Relevant to the language 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.
Type
Projects
Status
Exploration