]> git.lizzy.rs Git - rust.git/blobdiff - src/compiletest/compiletest.rs
rollup merge of #17355 : gamazeps/issue17210
[rust.git] / src / compiletest / compiletest.rs
index 6c6cd6f610f5be970f07e4f7faa8c58c6df52b5f..8188cb17b27c805e8a7cf5a50dd7b5eee75ff04a 100644 (file)
@@ -259,7 +259,7 @@ pub fn run_tests(config: &Config) {
     // parallel (especially when we have lots and lots of child processes).
     // For context, see #8904
     io::test::raise_fd_limit();
-    let res = test::run_tests_console(&opts, tests.move_iter().collect());
+    let res = test::run_tests_console(&opts, tests.into_iter().collect());
     match res {
         Ok(true) => {}
         Ok(false) => fail!("Some tests failed"),
@@ -400,4 +400,4 @@ fn extract_gdb_version(full_version_line: Option<String>) -> Option<String> {
         },
         _ => None
     }
-}
\ No newline at end of file
+}