]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/unique-mutable.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / unique-mutable.rs
index eebb1705590178d019ba339f594eb5c7c8674548..c4f860d930b8c1f20a8f373d079baab59992eba6 100644 (file)
@@ -8,6 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unknown_features)]
+#![feature(box_syntax)]
+
 pub fn main() {
     let mut i = box 0i;
     *i = 1;