]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/owned-implies-static.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / owned-implies-static.rs
index 498b81d307e29b613b3925f79b6f82c828e3d00b..e784318fc762fe4ab05219004e85ba23c987ba78 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<T: 'static>(_x: T) {}
 
 pub fn main() {