about summary refs log tree commit diff
path: root/src/librustdoc/lib.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-17 13:33:26 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-03-20 20:07:19 -0700
commit212e03181e422f569b6426bc08b713a9efc0d0eb (patch)
tree4ab0963cf9b9a231d092636782703117c8c3fc6d /src/librustdoc/lib.rs
parent68d69415637186755482d2584e6ba82b67bc1d89 (diff)
downloadrust-212e03181e422f569b6426bc08b713a9efc0d0eb.tar.gz
rust-212e03181e422f569b6426bc08b713a9efc0d0eb.zip
std: Remove old_io/old_path from the prelude
This commit removes the reexports of `old_io` traits as well as `old_path` types
and traits from the prelude. This functionality is now all deprecated and needs
to be removed to make way for other functionality like `Seek` in the `std::io`
module (currently reexported as `NewSeek` in the io prelude).

Closes #23377
Closes #23378
Diffstat (limited to 'src/librustdoc/lib.rs')
-rw-r--r--src/librustdoc/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs
index 0650b4d5158..d747ed3f119 100644
--- a/src/librustdoc/lib.rs
+++ b/src/librustdoc/lib.rs
@@ -64,6 +64,8 @@ use std::path::PathBuf;
 use std::rc::Rc;
 use std::sync::mpsc::channel;
 
+#[allow(deprecated)] use std::old_path::Path;
+
 use externalfiles::ExternalHtml;
 use serialize::Decodable;
 use serialize::json::{self, Json};