From c54427ddfbbab41a39d14f2b1dc4f080cbc2d41b Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Fri, 22 Nov 2013 15:45:12 -0800 Subject: libstd: Change `Path::new` to `Path::init`. --- src/compiletest/header.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiletest/header.rs') 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 { 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 } -- cgit 1.4.1-3-g733a5