-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking issue for Box::leak #46179
Comments
Dumping this link here for future reference: https://github.com/search?utf8=%E2%9C%93&q=leak+extension%3A.rs+language%3ARust&type=Code&ref=advsearch&l=Rust&l= |
…richton Stabilize Box::leak Stabilizes the following: + `Box::leak` (`box_leak`, in nightly since 2017-11-23) cc rust-lang#46179 r? @rust-lang/libs
Closing since |
I was confused why this was allowed to stabilize, but it appears that the bug that made this API unsound was fixed? |
@gankro https://play.rust-lang.org/?gist=66d0329787975630e4f0cc62da61ed46&version=stable&mode=debug The Should we escalate this to a new issue with P-high? |
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. |
#![feature(box_leak)]
Implemented in #45881.
The text was updated successfully, but these errors were encountered: