From 69abc12b0044d641e714bdd73a299cfa4136b7b8 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Mon, 27 Apr 2015 14:10:49 -0700 Subject: Register new snapshots --- src/liballoc/arc.rs | 2 -- src/liballoc/lib.rs | 2 +- src/liballoc/rc.rs | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) (limited to 'src/liballoc') diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index 9d7f9ea8990..ab7030bee15 100644 --- a/src/liballoc/arc.rs +++ b/src/liballoc/arc.rs @@ -355,7 +355,6 @@ impl Arc { } } -#[unsafe_destructor] #[stable(feature = "rust1", since = "1.0.0")] impl Drop for Arc { /// Drops the `Arc`. @@ -489,7 +488,6 @@ impl Clone for Weak { } } -#[unsafe_destructor] #[stable(feature = "rust1", since = "1.0.0")] impl Drop for Weak { /// Drops the `Weak`. diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index a8be63d6373..c0974dcb2a0 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -73,7 +73,7 @@ #![feature(allocator)] #![feature(custom_attribute)] #![feature(fundamental)] -#![feature(lang_items, unsafe_destructor)] +#![feature(lang_items)] #![feature(box_syntax)] #![feature(optin_builtin_traits)] #![feature(unboxed_closures)] diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index 2ee229ab1df..015d0330ed7 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -375,7 +375,6 @@ impl Deref for Rc { } } -#[unsafe_destructor] #[stable(feature = "rust1", since = "1.0.0")] impl Drop for Rc { /// Drops the `Rc`. @@ -693,7 +692,6 @@ impl Weak { } } -#[unsafe_destructor] #[stable(feature = "rust1", since = "1.0.0")] impl Drop for Weak { /// Drops the `Weak`. -- cgit 1.4.1-3-g733a5