]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/issue-13808.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / issue-13808.rs
index c0652b946dbe580b5a1711738b46dc39c23aa187..3c5ece87b737dabae0d7d16709bd68175e3a9cbb 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)]
+
 struct Foo<'a> {
     listener: Box<FnMut() + 'a>,
 }