about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-02-11 13:57:40 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-02-11 13:57:40 +0100
commitf9a1087f2730ab021d5356a5df703baeccffc020 (patch)
treef72d08a0947b2144e09b34066afa46d2ec3d032c /src/libstd/lib.rs
parent0047f8bbd8f94c7ba54d42eb7272c89a48d6ae54 (diff)
downloadrust-f9a1087f2730ab021d5356a5df703baeccffc020.tar.gz
rust-f9a1087f2730ab021d5356a5df703baeccffc020.zip
Feature-gate the `#[unsafe_no_drop_flag]` attribute.
See RFC 320, "Non-zeroing dynamic drops."

Fix #22173

[breaking-change]
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 967789dd411..429b1324f97 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -111,7 +111,7 @@
 #![feature(core)]
 #![feature(hash)]
 #![feature(int_uint)]
-#![feature(lang_items, unsafe_destructor)]
+#![feature(lang_items)]
 #![feature(libc)]
 #![feature(linkage, thread_local, asm)]
 #![feature(old_impl_check)]
@@ -120,6 +120,8 @@
 #![feature(staged_api)]
 #![feature(unboxed_closures)]
 #![feature(unicode)]
+#![feature(unsafe_destructor)]
+#![feature(unsafe_no_drop_flag)]
 #![feature(macro_reexport)]
 #![cfg_attr(test, feature(test))]