about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorAlexis Beingessner <a.beingessner@gmail.com>2015-07-21 14:11:50 -0700
committerAndrew Paseltiner <apaseltiner@gmail.com>2015-10-30 10:54:25 -0400
commite72c226bed92bbbf9050044b9ebafa6b8deb0ea3 (patch)
treeeb3ba24351073b5ae435f3d3d00a67dc3516966b /src/liballoc
parent914c4dbc2a1037e63625b0bf846c6b550d0918c7 (diff)
downloadrust-e72c226bed92bbbf9050044b9ebafa6b8deb0ea3.tar.gz
rust-e72c226bed92bbbf9050044b9ebafa6b8deb0ea3.zip
expose drop_in_place as ptr::drop_in_place
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index c78ebdf4340..899e7de4ed5 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -103,6 +103,8 @@
 #![feature(unsize)]
 #![feature(core_slice_ext)]
 #![feature(core_str_ext)]
+#![feature(drop_in_place)]
+
 #![cfg_attr(stage0, feature(alloc_system))]
 #![cfg_attr(not(stage0), feature(needs_allocator))]