Skip to content

Tracking Issue for feature(pin_static_ref): Pin::{static_ref,static_mut} #78186

Closed
@m-ou-se

Description

@m-ou-se

Tracking issue for #![feature(pin_static_ref)], as added by #77726.

Interface:

impl<T: ?Sized> Pin<&'static T> {
    pub const fn static_ref(r: &'static T) -> Pin<&'static T>;
}

impl<T: ?Sized> Pin<&'static mut T> {
    pub const fn static_mut(r: &'static mut T) -> Pin<&'static mut T>;
}

@rustbot modify labels: +B-unstable +C-tracking-issue +T-libs

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-pinArea: PinB-unstableBlocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCLibs-TrackedLibs issues that are tracked on the team's project board.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions