]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/expr-match-generic-unique2.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / expr-match-generic-unique2.rs
index e608f9c46c79c1fff1f2920f8c82a80e25e1e5fc..489cd8437d21faacf5b52ddf21de41a2ca2453d0 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 test_generic<T: Clone, F>(expected: T, eq: F) where F: FnOnce(T, T) -> bool {
     let actual: T = match true {
         true => expected.clone(),