about summary refs log tree commit diff
path: root/src/liballoc/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/liballoc/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/liballoc/lib.rs')
-rw-r--r--src/liballoc/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index 0e6266f9cbc..87106041c69 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -71,6 +71,7 @@
 #![feature(box_syntax)]
 #![feature(optin_builtin_traits)]
 #![feature(unboxed_closures)]
+#![feature(unsafe_no_drop_flag)]
 #![feature(core)]
 #![feature(hash)]
 #![cfg_attr(all(not(feature = "external_funcs"), not(feature = "external_crate")),