diff options
| author | bors <bors@rust-lang.org> | 2015-04-29 02:16:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-04-29 02:16:01 +0000 |
| commit | c48b499ea31592fe332e8927ecf64a44ebcb0889 (patch) | |
| tree | 9d0f557bd32aced1f01622dee07ac1530afe810c /src/liballoc | |
| parent | c4b23aec4c5ddf32df1e0ba3cc23212327cd8b1f (diff) | |
| parent | 69abc12b0044d641e714bdd73a299cfa4136b7b8 (diff) | |
| download | rust-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.rs | 2 | ||||
| -rw-r--r-- | src/liballoc/lib.rs | 2 | ||||
| -rw-r--r-- | src/liballoc/rc.rs | 2 |
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>`. |
