about summary refs log tree commit diff
path: root/src/libstd/unstable
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2013-12-03 19:15:12 -0800
committerKevin Ballard <kevin@sb.org>2013-12-04 22:33:53 -0800
commit408dc5ad1b657eb2261e7ac680b8d100469e5477 (patch)
treebf2b7e8a7c1a5161b5fe531925fa2e0d9e5f34f5 /src/libstd/unstable
parentbd5305fbc818d0f59eaabcfd08f19e8c23ea931f (diff)
downloadrust-408dc5ad1b657eb2261e7ac680b8d100469e5477.tar.gz
rust-408dc5ad1b657eb2261e7ac680b8d100469e5477.zip
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
Diffstat (limited to 'src/libstd/unstable')
-rw-r--r--src/libstd/unstable/dynamic_lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/unstable/dynamic_lib.rs b/src/libstd/unstable/dynamic_lib.rs
index bc8c01afc1d..2a6e40dc3a0 100644
--- a/src/libstd/unstable/dynamic_lib.rs
+++ b/src/libstd/unstable/dynamic_lib.rs
@@ -122,7 +122,7 @@ mod test {
     fn test_errors_do_not_crash() {
         // Open /dev/null as a library to get an error, and make sure
         // that only causes an error, and not a crash.
-        let path = GenericPath::init("/dev/null");
+        let path = GenericPath::new("/dev/null");
         match DynamicLibrary::open(Some(&path)) {
             Err(_) => {}
             Ok(_) => fail!("Successfully opened the empty library.")