about summary refs log tree commit diff
path: root/src/compiletest/header.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-11-22 15:45:12 -0800
committerPatrick Walton <pcwalton@mimiga.net>2013-11-29 10:55:13 -0800
commitc54427ddfbbab41a39d14f2b1dc4f080cbc2d41b (patch)
tree7b4e7af9dfe4342f3fd474f1010d4839281edd87 /src/compiletest/header.rs
parent6c672ee094a1a8e72c100100f43c73a9741f08a7 (diff)
libstd: Change `Path::new` to `Path::init`.
Diffstat (limited to 'src/compiletest/header.rs')
-rw-r--r--src/compiletest/header.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiletest/header.rs b/src/compiletest/header.rs
index 1966701dbde..09e20415ebf 100644
--- a/src/compiletest/header.rs
+++ b/src/compiletest/header.rs
@@ -160,10 +160,10 @@ fn parse_exec_env(line: &str) -> Option<(~str, ~str)> {
 
 fn parse_pp_exact(line: &str, testfile: &Path) -> Option<Path> {
     match parse_name_value_directive(line, ~"pp-exact") {
-      Some(s) => Some(Path::new(s)),
+      Some(s) => Some(Path::init(s)),
       None => {
         if parse_name_directive(line, "pp-exact") {
-            testfile.filename().map(|s| Path::new(s))
+            testfile.filename().map(|s| Path::init(s))
         } else {
             None
         }