about summary refs log tree commit diff
path: root/src/test/run-pass/no-std-xcrate2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/no-std-xcrate2.rs')
-rw-r--r--src/test/run-pass/no-std-xcrate2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/no-std-xcrate2.rs b/src/test/run-pass/no-std-xcrate2.rs
index a22814af23e..7e734a7d9e2 100644
--- a/src/test/run-pass/no-std-xcrate2.rs
+++ b/src/test/run-pass/no-std-xcrate2.rs
@@ -18,7 +18,7 @@
 
 #[no_std];
 
-extern mod no_std_crate;
+extern crate no_std_crate;
 
 // This is an unfortunate thing to have to do on linux :(
 #[cfg(target_os = "linux")]