From e72c226bed92bbbf9050044b9ebafa6b8deb0ea3 Mon Sep 17 00:00:00 2001 From: Alexis Beingessner Date: Tue, 21 Jul 2015 14:11:50 -0700 Subject: expose drop_in_place as ptr::drop_in_place --- src/liballoc/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/liballoc') 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))] -- cgit 1.4.1-3-g733a5