diff --git a/src/multi/tests.rs b/src/multi/tests.rs index d6b90e8d7..9f15ef4c9 100644 --- a/src/multi/tests.rs +++ b/src/multi/tests.rs @@ -1,10 +1,10 @@ -use std::ops::Range; use super::{length_data, length_value, many0_count, many1_count}; use crate::{ bytes::streaming::tag, character::streaming::digit1 as digit, error::{ErrorKind, ParseError}, internal::{Err, IResult, Needed}, + lib::std::ops::Range, lib::std::str::{self, FromStr}, number::streaming::{be_u16, be_u8}, sequence::pair, diff --git a/src/number/mod.rs b/src/number/mod.rs index b4c5b9501..217aa75d9 100644 --- a/src/number/mod.rs +++ b/src/number/mod.rs @@ -1388,6 +1388,7 @@ mod tests { use crate::error::ErrorKind; use crate::internal::Err; + #[cfg(feature = "std")] macro_rules! assert_parse( ($left: expr, $right: expr) => { let res: $crate::IResult<_, _, (_, ErrorKind)> = $left;