]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/unique-deref.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / unique-deref.rs
index 346b7d0bfcccb950be44524be2f38be827ae0a1a..752ea830aa5ddf54fbac8ea3a1e29b56c2b6bf73 100644 (file)
@@ -8,7 +8,10 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unknown_features)]
+#![feature(box_syntax)]
+
 pub fn main() {
-    let i = box 100;
+    let i = box 100i;
     assert_eq!(*i, 100);
 }