]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-fail/mir_dynamic_drops_2.rs
New upstream version 1.13.0+dfsg1
[rustc.git] / src / test / run-fail / mir_dynamic_drops_2.rs
index 803ca53bf7a848c00aa4b13a4653b4d237950ff7..7a90298e4225323ab81633d0796bb61b68db9fc1 100644 (file)
@@ -7,7 +7,7 @@
 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
-#![feature(rustc_attrs)]
+
 // error-pattern:drop 1
 use std::io::{self, Write};
 
@@ -25,7 +25,6 @@ impl<'a> Drop for Droppable<'a> {
     }
 }
 
-#[rustc_mir]
 fn mir<'a>(d: Droppable<'a>) {
     loop {
         let x = d;