]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/unique-match-discrim.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / unique-match-discrim.rs
index 68b46db3a947b10681a5d0cf2858186914dbcbff..a1502c2eb8c0fa3ffda2425bf0e3984a7510fdf2 100644 (file)
@@ -10,6 +10,9 @@
 
 // Issue #961
 
+#![allow(unknown_features)]
+#![feature(box_syntax)]
+
 fn altsimple() {
     match box true {
       _ => { }