]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/class-method-cross-crate.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / class-method-cross-crate.rs
index d2c78c7f1add831b526cad3629f7fa838458e87b..e05ed750b5d959c250a3034620f58688a725fd27 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,10 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// xfail-fast
 // aux-build:cci_class_2.rs
-extern mod cci_class_2;
-use cci_class_2::kitties::*;
+extern crate cci_class_2;
+use cci_class_2::kitties::cat;
 
 pub fn main() {
   let nyan : cat = cat(52u, 99);