]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/unique-vec-res.rs
Imported Upstream version 1.1.0+dfsg1
[rustc.git] / src / test / compile-fail / unique-vec-res.rs
index 938abbf2c2018952a44739b07b3a7c027c866598..6aa0834cb27df563544bc548788f737454940542 100644 (file)
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(unsafe_destructor)]
-
 use std::cell::Cell;
 
 #[derive(Debug)]
@@ -17,7 +15,6 @@ struct r<'a> {
   i: &'a Cell<isize>,
 }
 
-#[unsafe_destructor]
 impl<'a> Drop for r<'a> {
     fn drop(&mut self) {
         unsafe {