From 408dc5ad1b657eb2261e7ac680b8d100469e5477 Mon Sep 17 00:00:00 2001 From: Kevin Ballard Date: Tue, 3 Dec 2013 19:15:12 -0800 Subject: Revert "libstd: Change `Path::new` to `Path::init`." This reverts commit c54427ddfbbab41a39d14f2b1dc4f080cbc2d41b. Leave the #[ignores] in that were added to rustpkg tests. Conflicts: src/librustc/driver/driver.rs src/librustc/metadata/creader.rs --- src/libstd/rt/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/rt') diff --git a/src/libstd/rt/test.rs b/src/libstd/rt/test.rs index 51ad37a2583..825116a4048 100644 --- a/src/libstd/rt/test.rs +++ b/src/libstd/rt/test.rs @@ -381,7 +381,7 @@ pub fn next_test_unix() -> Path { if cfg!(unix) { os::tmpdir().join(rand::task_rng().gen_ascii_str(20)) } else { - Path::init(r"\\.\pipe\" + rand::task_rng().gen_ascii_str(20)) + Path::new(r"\\.\pipe\" + rand::task_rng().gen_ascii_str(20)) } } -- cgit 1.4.1-3-g733a5