about summary refs log tree commit diff
path: root/src/compiletest/procsrv.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiletest/procsrv.rs')
-rw-r--r--src/compiletest/procsrv.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiletest/procsrv.rs b/src/compiletest/procsrv.rs
index ac87eabc0fd..48c467c34b6 100644
--- a/src/compiletest/procsrv.rs
+++ b/src/compiletest/procsrv.rs
@@ -56,7 +56,7 @@ pub fn run(lib_path: &str,
         err_fd: None
     });
 
-    for input.iter().advance |input| {
+    foreach input in input.iter() {
         proc.input().write_str(*input);
     }
     let output = proc.finish_with_output();