]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/unique-log.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / unique-log.rs
index 96d61b377af5c8047ea8cc4b141b40da615b1067..05579796dab904454541400dda486cca609d4095 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 = ~100;
-    error!("{:?}", i);
+    let i = box 100i;
+    println!("{}", i);
 }