]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/issue-14919.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / issue-14919.rs
index 21bda93ecec650f978b4b35f42cfa4b58e813377..4d05b98147bd6237ec9ba8b5c065a8d0c02f5cb6 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)]
+
 trait Matcher {
     fn next_match(&mut self) -> Option<(uint, uint)>;
 }