From 6be1083ea651e8bc30541a47e928b8e059287efa Mon Sep 17 00:00:00 2001 From: Hunar Roop Kahlon Date: Fri, 29 Mar 2019 22:40:25 -0700 Subject: [PATCH] attempt to fix build # 4 Signed-off-by: Hunar Roop Kahlon --- src/core_support.rs | 4 ++-- src/lib.rs | 4 ++-- src/winapi_support.rs | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/core_support.rs b/src/core_support.rs index 911c69cd7..6538020cd 100644 --- a/src/core_support.rs +++ b/src/core_support.rs @@ -93,9 +93,9 @@ impl Default for Uuid { #[cfg(test)] mod tests { - use std; + use crate::tests::std; - use self::std::prelude::v1::*; + use crate::tests::*; use crate::prelude::*; use crate::test_util; diff --git a/src/lib.rs b/src/lib.rs index 06bf86b6b..5f6f0fd5a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1006,9 +1006,9 @@ impl Uuid { #[cfg(test)] mod tests { - extern crate std; + pub extern crate std; - use std::prelude::v1::*; + pub use std::prelude::v1::*; use super::test_util; use crate::prelude::*; diff --git a/src/winapi_support.rs b/src/winapi_support.rs index 979e5421b..e91ee9eba 100644 --- a/src/winapi_support.rs +++ b/src/winapi_support.rs @@ -34,7 +34,6 @@ impl Uuid { #[cfg(test)] mod tests { use crate::prelude::*; - use std::str::FromStr; use winapi::shared::guiddef; #[test]