Skip to content

Tracking Issue for offset_of_slice #126151

Open

Description

@RalfJung

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

Implementation history

Activity

  1. added
    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
    on Jun 8, 2024
  2. added a commit that references this issue on Jun 9, 2024
  3. added
    T-langRelevant to the language team
    T-libs-api[DEPRECATED; DO NOT USE]
    B-unstableBlocker: Implemented in the nightly compiler and unstable.
    B-experimentalBlocker: In-tree experiment; RFC pending, not yet approved or unneeded (requires FCP to stabilize).
    S-tracking-needs-to-bakeStatus: The implementation is "complete" but it needs time to bake.
    on Jun 9, 2024
  4. added 2 commits that reference this issue on Jul 7, 2024
  5. added a commit that references this issue on Jul 7, 2024
  6. moved this from Exploration to Needs champion in Lang team featureson Feb 21, 2025
  7. moved this from Needs champion to Exploration in Lang team featureson Mar 5, 2025
  8. added
    T-libsRelevant to the library team, which will review and decide on the PR/issue.
    and removed
    T-libs-api[DEPRECATED; DO NOT USE]
    on Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-experimentalBlocker: In-tree experiment; RFC pending, not yet approved or unneeded (requires FCP to stabilize).B-unstableBlocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCF-offset_of_slice`#![feature(offset_of_slice)]`S-tracking-needs-to-bakeStatus: The implementation is "complete" but it needs time to bake.T-langRelevant to the language teamT-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions