From 69abc12b0044d641e714bdd73a299cfa4136b7b8 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Mon, 27 Apr 2015 14:10:49 -0700 Subject: Register new snapshots --- src/libcoretest/lib.rs | 1 - src/libcoretest/option.rs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libcoretest') 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>, } - #[unsafe_destructor] - impl Drop for R { + impl Drop for R { fn drop(&mut self) { let ii = &*self.i; let i = *ii.borrow(); -- cgit 1.4.1-3-g733a5