From 212e03181e422f569b6426bc08b713a9efc0d0eb Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 17 Mar 2015 13:33:26 -0700 Subject: 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 --- src/libstd/thread.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/libstd/thread.rs') diff --git a/src/libstd/thread.rs b/src/libstd/thread.rs index d2742d4b45a..6a316ee83fd 100644 --- a/src/libstd/thread.rs +++ b/src/libstd/thread.rs @@ -150,11 +150,12 @@ use io; use marker::PhantomData; use rt::{self, unwind}; use sync::{Mutex, Condvar, Arc}; +use sys::thread as imp; +use sys_common::{stack, thread_info}; use thunk::Thunk; use time::Duration; -use sys::thread as imp; -use sys_common::{stack, thread_info}; +#[allow(deprecated)] use old_io::Writer; /// Thread configuration. Provides detailed control over the properties /// and behavior of new threads. -- cgit 1.4.1-3-g733a5