]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-fail/mir_dynamic_drops_1.rs
Auto merge of #35856 - phimuemue:master, r=brson
[rust.git] / src / test / run-fail / mir_dynamic_drops_1.rs
index 16160a1496ff9d1dc20eb2824e7cd9bbbbd9bdb4..6cf2851d93d472b664a1e6999e74b9c963252cdd 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:drop 1
 // error-pattern:drop 2
 use std::io::{self, Write};
@@ -26,7 +25,6 @@ fn drop(&mut self) {
     }
 }
 
-#[rustc_mir]
 fn mir() {
     let (mut xv, mut yv) = (false, false);
     let x = Droppable(&mut xv, 1);