about summary refs log tree commit diff
path: root/src/test/run-fail
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-04-24 20:35:49 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-04-28 22:31:39 -0400
commit46f91a0fa95cd13f7433a1d72d087283f483a4b8 (patch)
treec4d6aedddc64db81f6ada877e9ec585cf981d2d9 /src/test/run-fail
parent9f03d45c56b37b36912c16bd5b4fb4723fd91cb7 (diff)
make way for a new iter module
Diffstat (limited to 'src/test/run-fail')
-rw-r--r--src/test/run-fail/extern-fail.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/run-fail/extern-fail.rs b/src/test/run-fail/extern-fail.rs
index ca8c6e8246f..2deee10527c 100644
--- a/src/test/run-fail/extern-fail.rs
+++ b/src/test/run-fail/extern-fail.rs
@@ -12,6 +12,8 @@
 // Testing that runtime failure doesn't cause callbacks to abort abnormally.
 // Instead the failure will be delivered after the callbacks return.
 
+use core::old_iter;
+
 mod rustrt {
     pub extern {
         pub fn rust_dbg_call(cb: *u8, data: libc::uintptr_t)
@@ -35,7 +37,7 @@ fn count(n: uint) -> uint {
 }
 
 fn main() {
-    for iter::repeat(10u) {
+    for old_iter::repeat(10u) {
         do task::spawn {
             let result = count(5u);
             debug!("result = %?", result);