]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-fail/mir_drop_panics.rs
New upstream version 1.13.0+dfsg1
[rustc.git] / src / test / run-fail / mir_drop_panics.rs
index 1a4330523babe968b889fe6e5721278f8fd675c9..98311525ad0f26b77a61c473654fdd7996b82bb3 100644 (file)
@@ -7,7 +7,6 @@
 // <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:panic 1
 // error-pattern:drop 2
@@ -24,7 +23,6 @@ impl Drop for Droppable {
     }
 }
 
-#[rustc_mir]
 fn mir() {
     let x = Droppable(2);
     let y = Droppable(1);