]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/no_owned_box_lang_item.rs
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / test / compile-fail / no_owned_box_lang_item.rs
index 39fec2ddfbdeab0ff2b5a7b23c5b4e6e67ff8454..72eb687adc60257bf9c075720c8e3ad18486fe36 100644 (file)
@@ -12,8 +12,8 @@
 
 // error-pattern: requires `owned_box` lang_item
 
+#![feature(lang_items, box_syntax)]
 #![no_std]
-#![feature(lang_items, no_std, box_syntax)]
 
 fn main() {
     let x = box 1i32;