]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/kindck-owned-trait-contains-1.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / kindck-owned-trait-contains-1.rs
index fbd6c92a0206516e5ecae0e84f7cb61a560c9fb9..999fb2c4b69f3818c8a8d7070e86f933dce9fde9 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)]
 
 trait repeat<A> { fn get(&self) -> A; }