diff options
Diffstat (limited to 'src/librustc/front/test.rs')
| -rw-r--r-- | src/librustc/front/test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/front/test.rs b/src/librustc/front/test.rs index 8694c10053c..2730858d498 100644 --- a/src/librustc/front/test.rs +++ b/src/librustc/front/test.rs @@ -380,7 +380,7 @@ fn is_extra(cx: &TestCtxt) -> bool { fn mk_test_descs(cx: &TestCtxt) -> @ast::expr { debug!("building test vector from %u tests", cx.testfns.len()); let mut descs = ~[]; - for cx.testfns.iter().advance |test| { + foreach test in cx.testfns.iter() { descs.push(mk_test_desc_and_fn_rec(cx, test)); } |
