]> git.lizzy.rs Git - rust.git/commit
Rename std::path to std::old_path
authorAaron Turon <aturon@mozilla.com>
Thu, 29 Jan 2015 22:03:36 +0000 (14:03 -0800)
committerAaron Turon <aturon@mozilla.com>
Tue, 3 Feb 2015 22:34:42 +0000 (14:34 -0800)
commit3e39f0bc0e96f76610104918edaa5912f4f352df
tree19f32ce01fd97eb21b2e272a260f32a0dba6d499
parent3b2ed14906fd9f9daa27cc7d1dad263d2f5ff450
Rename std::path to std::old_path

As part of [RFC 474](https://github.com/rust-lang/rfcs/pull/474), this
commit renames `std::path` to `std::old_path`, leaving the existing path
API in place to ease migration to the new one. Updating should be as
simple as adjusting imports, and the prelude still maps to the old path
APIs for now.

[breaking-change]
29 files changed:
src/libcore/error.rs
src/libgraphviz/maybe_owned_vec.rs
src/librustc_back/target/mod.rs
src/librustc_trans/trans/debuginfo.rs
src/librustdoc/clean/mod.rs
src/libserialize/serialize.rs
src/libstd/env.rs
src/libstd/lib.rs
src/libstd/old_io/fs.rs
src/libstd/old_io/net/pipe.rs
src/libstd/old_io/process.rs
src/libstd/old_io/tempfile.rs
src/libstd/old_path/mod.rs [new file with mode: 0644]
src/libstd/old_path/posix.rs [new file with mode: 0644]
src/libstd/old_path/windows.rs [new file with mode: 0644]
src/libstd/os.rs
src/libstd/path/mod.rs [deleted file]
src/libstd/path/posix.rs [deleted file]
src/libstd/path/windows.rs [deleted file]
src/libstd/prelude/v1.rs
src/libstd/rand/os.rs
src/libstd/sys/common/mod.rs
src/libstd/sys/unix/process.rs
src/libstd/sys/windows/backtrace.rs
src/libstd/sys/windows/process.rs
src/libsyntax/parse/token.rs
src/test/compile-fail/range-3.rs
src/test/compile-fail/range-4.rs
src/test/debuginfo/associated-types.rs