diff --git a/.travis.yml b/.travis.yml index c716d0e..fc06716 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,11 @@ matrix: # See: https://github.com/BurntSushi/byteorder/pull/150 - cargo update && cargo update -p byteorder --precise 1.2.7 - cargo build --no-default-features --features core_io - - cargo build --no-default-features --features core_io,alloc,core_io/collections + - cargo build --no-default-features --features core_io,alloc + - rust: nightly-2019-07-01 + script: + - cargo build --no-default-features --features core_io + - cargo build --no-default-features --features core_io,alloc allow_failures: - rust: nightly diff --git a/src/dir.rs b/src/dir.rs index 0e5ab66..051f11c 100644 --- a/src/dir.rs +++ b/src/dir.rs @@ -1,5 +1,5 @@ #[cfg(all(not(feature = "std"), feature = "alloc"))] -use alloc::Vec; +use alloc::vec::Vec; use core::{char, cmp, num, str}; #[cfg(feature = "alloc")] use core::{iter, slice}; diff --git a/src/dir_entry.rs b/src/dir_entry.rs index 87ceae7..ba4ac5e 100644 --- a/src/dir_entry.rs +++ b/src/dir_entry.rs @@ -1,5 +1,5 @@ #[cfg(all(not(feature = "std"), feature = "alloc"))] -use alloc::{String, Vec}; +use alloc::{string::String, vec::Vec}; use core::char; use core::iter::FromIterator; use core::{fmt, str}; diff --git a/src/fs.rs b/src/fs.rs index 66b2b12..a5ee63f 100644 --- a/src/fs.rs +++ b/src/fs.rs @@ -1,5 +1,5 @@ #[cfg(all(not(feature = "std"), feature = "alloc"))] -use alloc::String; +use alloc::string::String; use core::cell::{Cell, RefCell}; use core::char; use core::cmp;