From 9cf271fe96b474d514b1052935db70c4056cf076 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 18 Sep 2012 21:41:37 -0700 Subject: De-mode vec::each() and many of the str iteration routines Note that the method foo.each() is not de-moded, nor the other vec routines. --- src/compiletest/runtest.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiletest') diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs index f76a469d501..cae9801b674 100644 --- a/src/compiletest/runtest.rs +++ b/src/compiletest/runtest.rs @@ -425,8 +425,8 @@ fn compose_and_run_compiler( let extra_link_args = ~[~"-L", aux_output_dir_name(config, testfile).to_str()]; - do vec::iter(props.aux_builds) |rel_ab| { - let abs_ab = config.aux_base.push_rel(&Path(rel_ab)); + for vec::each(props.aux_builds) |rel_ab| { + let abs_ab = config.aux_base.push_rel(&Path(*rel_ab)); let aux_args = make_compile_args(config, props, ~[~"--lib"] + extra_link_args, |a,b| make_lib_name(a, b, testfile), &abs_ab); -- cgit 1.4.1-3-g733a5