From f9a1087f2730ab021d5356a5df703baeccffc020 Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Wed, 11 Feb 2015 13:57:40 +0100 Subject: Feature-gate the `#[unsafe_no_drop_flag]` attribute. See RFC 320, "Non-zeroing dynamic drops." Fix #22173 [breaking-change] --- src/liballoc/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/liballoc') 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")), -- cgit 1.4.1-3-g733a5