diff options
| author | Tamir Duberstein <tamird@gmail.com> | 2015-04-27 14:10:49 -0700 |
|---|---|---|
| committer | Tamir Duberstein <tamird@gmail.com> | 2015-04-28 17:23:45 -0700 |
| commit | 69abc12b0044d641e714bdd73a299cfa4136b7b8 (patch) | |
| tree | b434c9c4a9b8260632c8a6c20823c95a8f5a02e7 /src/liballoc | |
| parent | 8871c17b76a1e0ab36ce2bb51008b53f596e5b3c (diff) | |
| download | rust-69abc12b0044d641e714bdd73a299cfa4136b7b8.tar.gz rust-69abc12b0044d641e714bdd73a299cfa4136b7b8.zip | |
Register new snapshots
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>`. |
