about summary refs log tree commit diff
path: root/src/libsyntax/parse/token.rs
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2015-01-29 14:03:36 -0800
committerAaron Turon <aturon@mozilla.com>2015-02-03 14:34:42 -0800
commit3e39f0bc0e96f76610104918edaa5912f4f352df (patch)
tree19f32ce01fd97eb21b2e272a260f32a0dba6d499 /src/libsyntax/parse/token.rs
parent3b2ed14906fd9f9daa27cc7d1dad263d2f5ff450 (diff)
downloadrust-3e39f0bc0e96f76610104918edaa5912f4f352df.tar.gz
rust-3e39f0bc0e96f76610104918edaa5912f4f352df.zip
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]
Diffstat (limited to 'src/libsyntax/parse/token.rs')
-rw-r--r--src/libsyntax/parse/token.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index 5c3892e49c0..129c1d20bc0 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -25,7 +25,7 @@ use serialize::{Decodable, Decoder, Encodable, Encoder};
 use std::fmt;
 use std::mem;
 use std::ops::Deref;
-use std::path::BytesContainer;
+use std::old_path::BytesContainer;
 use std::rc::Rc;
 
 #[allow(non_camel_case_types)]