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/libcoretest | |
| 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/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(); |
