]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-fail/issue-30380.rs
New upstream version 1.13.0+dfsg1
[rustc.git] / src / test / run-fail / issue-30380.rs
index eb668517bdf348ba514bfa4b9f437ed740b9bbec..7bd9adcba9bd1eebd3ef3fceb2d73d1f3237860d 100644 (file)
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(rustc_attrs)]
-
 // check that panics in destructors during assignment do not leave
 // destroyed values lying around for other destructors to observe.
 
@@ -35,7 +33,6 @@ impl<'a> Drop for Observer<'a> {
     }
 }
 
-#[rustc_mir]
 fn foo(b: &mut Observer) {
     *b.0 = FilledOnDrop(1);
 }