Uh oh!
There was an error while loading. Please reload this page.
expose drop_in_place as ptr::drop_in_place - #27204
Conversation
rust-highfive
commented
Jul 21, 2015
r? @pcwalton (rust_highfive has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
extra tabbing in these comments
Gankra
commented
Jul 29, 2015
The outstanding issue for this is ptr::drop_in_place vs mem::drop_in_place and whether it should take a *mut or an &mut. mem seems more consistent with mem::drop, but ptr is strictly more flexible (&mut coerces to *mut). |
huonw
commented
Aug 19, 2015
(This will need a tracking issue and an |
There was a problem hiding this comment.
In addition to what @huonw said about this needing issue= now this'll also need to be applied to the definition in the intrinsics module itself to work (we don't look at reexports themselves)
alexcrichton
commented
Aug 19, 2015
r=me with @huonw's and my tweaks to the stability attribute |
afbe8ec to
46986bfCompareGankra
commented
Aug 19, 2015
@bors r=alexcrichton |
bors
commented
Aug 19, 2015
📌 Commit 46986bf has been approved by |
Gankra
commented
Aug 19, 2015
@bors r=alexcrichton (making the feature gate actually do a thing broke stuff) |
bors
commented
Aug 19, 2015
📌 Commit be29f00 has been approved by |
Gankra
commented
Aug 19, 2015
fsk how did that conflict even happen |
Gankra
commented
Aug 19, 2015
@bors r- |
Gankra
commented
Aug 19, 2015
@bors r=alexcrichton (This branch was super old, that's how!) |
bors
commented
Aug 19, 2015
📌 Commit 5c6f2c5 has been approved by |
alexcrichton
commented
Aug 19, 2015
(looks like travis is unhappy) |
Gankra
commented
Aug 19, 2015
augh run-pass test using the intrinsic |
Gankra
commented
Aug 19, 2015
@bors r- |
Gankra
commented
Aug 20, 2015
@bors r=alexcrichton |
bors
commented
Aug 20, 2015
📌 Commit 3547e8c has been approved by |
Gankra
commented
Aug 20, 2015
(actually did a local make-check) |
bors
commented
Aug 21, 2015
⌛ Testing commit 3547e8c with merge 58d247a... |
bors
commented
Aug 21, 2015
💔 Test failed - auto-win-msvc-64-opt |
bors
commented
Sep 11, 2015
☔ The latest upstream changes (presumably #28306) made this pull request unmergeable. Please resolve the merge conflicts. |
apasel422
commented
Oct 28, 2015
What's the status of this? |
Gankra
commented
Oct 28, 2015
@apasel422 I'm kinda AWOL; feel free to rebase if you want this to land! |
apasel422
commented
Oct 28, 2015
Will do! |
This is a rebase of #27204. r? @alexcrichton CC @gankro
This intrinsic is necessary to drop DSTs and should generally be the way to drop memory before manually deallocating it. As such, it should be properly exposed by the standard library.