]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-fail/mir_trans_calls_diverging_drops.rs
Auto merge of #35856 - phimuemue:master, r=brson
[rust.git] / src / test / run-fail / mir_trans_calls_diverging_drops.rs
index 89b53b18f0619decc280777b09a3a880542b0b97..c191870492969628b96bcc86bf39c1254b6bbdd1 100644 (file)
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(rustc_attrs)]
-
 // error-pattern:diverging_fn called
 // error-pattern:0 dropped
 
@@ -26,7 +24,6 @@ fn diverging_fn() -> ! {
     panic!("diverging_fn called")
 }
 
-#[rustc_mir]
 fn mir(d: Droppable) {
     diverging_fn();
 }