]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/cci_impl_exe.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / cci_impl_exe.rs
index db25b36aa6169ee33972750c1d0c602adcec19a7..8a291febb6d458e3db08311ea3e8fae8ad655a25 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
+// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
 // file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
 //
@@ -8,21 +8,20 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// xfail-fast - check-fast doesn't understand aux-build
 // aux-build:cci_impl_lib.rs
 
-extern mod cci_impl_lib;
+extern crate cci_impl_lib;
 use cci_impl_lib::uint_helpers;
 
 pub fn main() {
     //let bt0 = sys::frame_address();
-    //debug!("%?", bt0);
+    //println!("%?", bt0);
 
-    do 3u.to(10u) |i| {
-        io::print(fmt!("%u\n", i));
+    3u.to(10u, |i| {
+        println!("{}", i);
 
         //let bt1 = sys::frame_address();
-        //debug!("%?", bt1);
+        //println!("%?", bt1);
         //assert!(bt0 == bt1);
-    }
+    })
 }