]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/issue-3121.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / issue-3121.rs
index 9e9d611f1a320eb994688c45e8a4ab858322782e..c789921f6220a287718dbd1b4c8326a827ea3e8b 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unknown_features)]
+#![feature(box_syntax)]
 
 enum side { mayo, catsup, vinegar }
 enum order { hamburger, fries(side), shake }