Skip to content

Tracking issue for Box::leak #46179

Closed
Closed

Description

@Centril

#![feature(box_leak)]

Implemented in #45881.

Activity

  1. added
    B-unstableBlocker: Implemented in the nightly compiler and unstable.
    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
    on Nov 22, 2017
  2. Centril commented on Dec 29, 2017

    @Centril
    ContributorAuthor
  3. added a commit that references this issue on Feb 24, 2018
  4. Centril commented on Mar 18, 2018

    @Centril
    ContributorAuthor

    Closing since Box::leak is stable in nightly and will make its way to stable in 1.26.0.

  5. Gankra commented on May 8, 2018

    @Gankra
    Contributor

    I was confused why this was allowed to stabilize, but it appears that the bug that made this API unsound was fixed?

  6. Centril commented on May 9, 2018

    @Centril
    ContributorAuthor

    @gankro https://play.rust-lang.org/?gist=66d0329787975630e4f0cc62da61ed46&version=stable&mode=debug

    The dupe mechanism doesn't work anymore at least.

    Should we escalate this to a new issue with P-high?

  7. Gankra commented on May 9, 2018

    @Gankra
    Contributor

    Nope, just leaving a historical note for anyone else who was confused. Although if anyone knows when this was fixed (and if a test was added?) that would be good to note.

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-unstableBlocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions