diff options
Diffstat (limited to 'src/test/run-fail')
| -rw-r--r-- | src/test/run-fail/extern-fail.rs | 4 |
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); |
