about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-04-29 02:16:01 +0000
committerbors <bors@rust-lang.org>2015-04-29 02:16:01 +0000
commitc48b499ea31592fe332e8927ecf64a44ebcb0889 (patch)
tree9d0f557bd32aced1f01622dee07ac1530afe810c /src/liballoc
parentc4b23aec4c5ddf32df1e0ba3cc23212327cd8b1f (diff)
parent69abc12b0044d641e714bdd73a299cfa4136b7b8 (diff)
downloadrust-c48b499ea31592fe332e8927ecf64a44ebcb0889.tar.gz
rust-c48b499ea31592fe332e8927ecf64a44ebcb0889.zip
Auto merge of #24888 - tamird:snapshot, r=alexcrichton
r? @alexcrichton cc @brson 
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/arc.rs2
-rw-r--r--src/liballoc/lib.rs2
-rw-r--r--src/liballoc/rc.rs2
3 files changed, 1 insertions, 5 deletions
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<T: Clone> Arc<T> {
     }
 }
 
-#[unsafe_destructor]
 #[stable(feature = "rust1", since = "1.0.0")]
 impl<T> Drop for Arc<T> {
     /// Drops the `Arc<T>`.
@@ -489,7 +488,6 @@ impl<T> Clone for Weak<T> {
     }
 }
 
-#[unsafe_destructor]
 #[stable(feature = "rust1", since = "1.0.0")]
 impl<T> Drop for Weak<T> {
     /// Drops the `Weak<T>`.
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<T> Deref for Rc<T> {
     }
 }
 
-#[unsafe_destructor]
 #[stable(feature = "rust1", since = "1.0.0")]
 impl<T> Drop for Rc<T> {
     /// Drops the `Rc<T>`.
@@ -693,7 +692,6 @@ impl<T> Weak<T> {
     }
 }
 
-#[unsafe_destructor]
 #[stable(feature = "rust1", since = "1.0.0")]
 impl<T> Drop for Weak<T> {
     /// Drops the `Weak<T>`.