about summary refs log tree commit diff
path: root/src/test/run-make/unicode-input/multiple_files.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-make/unicode-input/multiple_files.rs')
-rw-r--r--src/test/run-make/unicode-input/multiple_files.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-make/unicode-input/multiple_files.rs b/src/test/run-make/unicode-input/multiple_files.rs
index be67e5a066a..759a1d4aff9 100644
--- a/src/test/run-make/unicode-input/multiple_files.rs
+++ b/src/test/run-make/unicode-input/multiple_files.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-use std::{char, os};
+use std::{char, env};
 use std::old_io::{File, Command};
 use std::rand::{thread_rng, Rng};
 
@@ -33,7 +33,7 @@ fn random_char() -> char {
 }
 
 fn main() {
-    let args = os::args();
+    let args: Vec<String> = env::args().collect();
     let rustc = &args[1];
     let tmpdir = Path::new(&args[2]);