diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-04-24 20:35:49 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-04-28 22:31:39 -0400 |
| commit | 46f91a0fa95cd13f7433a1d72d087283f483a4b8 (patch) | |
| tree | c4d6aedddc64db81f6ada877e9ec585cf981d2d9 /src/test/run-fail | |
| parent | 9f03d45c56b37b36912c16bd5b4fb4723fd91cb7 (diff) | |
make way for a new iter module
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); |
