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/libcoretest | |
| parent | 8871c17b76a1e0ab36ce2bb51008b53f596e5b3c (diff) | |
| download | rust-69abc12b0044d641e714bdd73a299cfa4136b7b8.tar.gz rust-69abc12b0044d641e714bdd73a299cfa4136b7b8.zip | |
Register new snapshots
Diffstat (limited to 'src/libcoretest')
| -rw-r--r-- | src/libcoretest/lib.rs | 1 | ||||
| -rw-r--r-- | src/libcoretest/option.rs | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/libcoretest/lib.rs b/src/libcoretest/lib.rs index e0e8e46af6c..15669722752 100644 --- a/src/libcoretest/lib.rs +++ b/src/libcoretest/lib.rs @@ -13,7 +13,6 @@ #![feature(box_syntax)] #![feature(unboxed_closures)] -#![feature(unsafe_destructor)] #![feature(core)] #![feature(test)] #![feature(rand)] diff --git a/src/libcoretest/option.rs b/src/libcoretest/option.rs index 569142c0d7d..ad096630127 100644 --- a/src/libcoretest/option.rs +++ b/src/libcoretest/option.rs @@ -44,8 +44,7 @@ fn test_get_resource() { i: Rc<RefCell<isize>>, } - #[unsafe_destructor] - impl Drop for R { + impl Drop for R { fn drop(&mut self) { let ii = &*self.i; let i = *ii.borrow(); |
