]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/let-assignability.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / let-assignability.rs
index 6bea1aebc458815496d1d789eae4d0da734bd71e..9ac016d534f09c40c40ca235a1abdf74890b3fe0 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)]
+
 fn f() {
     let a = box 1;
     let b: &int = &*a;