diff options
Diffstat (limited to 'src/libstd/old_path')
| -rw-r--r-- | src/libstd/old_path/mod.rs | 1 | ||||
| -rw-r--r-- | src/libstd/old_path/posix.rs | 3 | ||||
| -rw-r--r-- | src/libstd/old_path/windows.rs | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/src/libstd/old_path/mod.rs b/src/libstd/old_path/mod.rs index 3f9cfbd2a07..37875658ae0 100644 --- a/src/libstd/old_path/mod.rs +++ b/src/libstd/old_path/mod.rs @@ -75,6 +75,7 @@ use str; #[cfg(stage0)] use str::StrExt; use string::{String, CowString}; +#[cfg(stage0)] use slice::SliceExt; use vec::Vec; diff --git a/src/libstd/old_path/posix.rs b/src/libstd/old_path/posix.rs index 790dd87ae91..9ac7512c00b 100644 --- a/src/libstd/old_path/posix.rs +++ b/src/libstd/old_path/posix.rs @@ -20,7 +20,10 @@ use iter::{Iterator, IteratorExt, Map}; use marker::Sized; use option::Option::{self, Some, None}; use result::Result::{self, Ok, Err}; +#[cfg(stage0)] use slice::{AsSlice, Split, SliceExt, SliceConcatExt}; +#[cfg(not(stage0))] +use slice::{AsSlice, Split, SliceConcatExt}; #[cfg(stage0)] use str::{self, FromStr, StrExt}; #[cfg(not(stage0))] diff --git a/src/libstd/old_path/windows.rs b/src/libstd/old_path/windows.rs index 4e36befefe8..b74bee1242d 100644 --- a/src/libstd/old_path/windows.rs +++ b/src/libstd/old_path/windows.rs @@ -27,7 +27,10 @@ use iter::{Iterator, IteratorExt, Map, repeat}; use mem; use option::Option::{self, Some, None}; use result::Result::{self, Ok, Err}; +#[cfg(stage0)] use slice::{SliceExt, SliceConcatExt}; +#[cfg(not(stage0))] +use slice::SliceConcatExt; #[cfg(stage0)] use str::{SplitTerminator, FromStr, StrExt}; #[cfg(not(stage0))] |
