@@ -12,13 +12,10 @@ use core::ops::{
1212    Deref ,  DerefMut ,  DerefPure ,  Index ,  IndexMut ,  Range ,  RangeFrom ,  RangeFull ,  RangeInclusive , 
1313    RangeTo ,  RangeToInclusive , 
1414} ; 
15- #[ cfg( not( test) ) ]   // https://github.com/rust-lang/rust/issues/135100 
1615use  core:: str:: FromStr ; 
1716use  core:: { fmt,  hash} ; 
1817
19- #[ cfg( not( test) ) ]   // https://github.com/rust-lang/rust/issues/135100 
2018use  crate :: borrow:: { Cow ,  ToOwned } ; 
21- #[ cfg( not( test) ) ]   // https://github.com/rust-lang/rust/issues/135100 
2219use  crate :: boxed:: Box ; 
2320#[ cfg( not( no_rc) ) ]  
2421use  crate :: rc:: Rc ; 
@@ -181,7 +178,6 @@ impl Default for ByteString {
181178
182179// Omitted due to inference failures 
183180// 
184- // #[cfg(not(test))] // https://github.com/rust-lang/rust/issues/135100 
185181// #[unstable(feature = "bstr", issue = "134915")] 
186182// impl<'a, const N: usize> From<&'a [u8; N]> for ByteString { 
187183//     #[inline] 
@@ -190,7 +186,6 @@ impl Default for ByteString {
190186//     } 
191187// } 
192188// 
193- // #[cfg(not(test))] // https://github.com/rust-lang/rust/issues/135100 
194189// #[unstable(feature = "bstr", issue = "134915")] 
195190// impl<const N: usize> From<[u8; N]> for ByteString { 
196191//     #[inline] 
@@ -199,7 +194,6 @@ impl Default for ByteString {
199194//     } 
200195// } 
201196// 
202- // #[cfg(not(test))] // https://github.com/rust-lang/rust/issues/135100 
203197// #[unstable(feature = "bstr", issue = "134915")] 
204198// impl<'a> From<&'a [u8]> for ByteString { 
205199//     #[inline] 
@@ -226,7 +220,6 @@ impl From<ByteString> for Vec<u8> {
226220
227221// Omitted due to inference failures 
228222// 
229- // #[cfg(not(test))] // https://github.com/rust-lang/rust/issues/135100 
230223// #[unstable(feature = "bstr", issue = "134915")] 
231224// impl<'a> From<&'a str> for ByteString { 
232225//     #[inline] 
@@ -243,7 +236,6 @@ impl From<ByteString> for Vec<u8> {
243236//     } 
244237// } 
245238
246- #[ cfg( not( test) ) ]   // https://github.com/rust-lang/rust/issues/135100 
247239#[ unstable( feature = "bstr" ,  issue = "134915" ) ]  
248240impl < ' a >  From < & ' a  ByteStr >  for  ByteString  { 
249241    #[ inline]  
@@ -252,7 +244,6 @@ impl<'a> From<&'a ByteStr> for ByteString {
252244    } 
253245} 
254246
255- #[ cfg( not( test) ) ]   // https://github.com/rust-lang/rust/issues/135100 
256247#[ unstable( feature = "bstr" ,  issue = "134915" ) ]  
257248impl < ' a >  From < ByteString >  for  Cow < ' a ,  ByteStr >  { 
258249    #[ inline]  
@@ -261,7 +252,6 @@ impl<'a> From<ByteString> for Cow<'a, ByteStr> {
261252    } 
262253} 
263254
264- #[ cfg( not( test) ) ]   // https://github.com/rust-lang/rust/issues/135100 
265255#[ unstable( feature = "bstr" ,  issue = "134915" ) ]  
266256impl < ' a >  From < & ' a  ByteString >  for  Cow < ' a ,  ByteStr >  { 
267257    #[ inline]  
@@ -330,7 +320,6 @@ impl FromIterator<ByteString> for ByteString {
330320    } 
331321} 
332322
333- #[ cfg( not( test) ) ]   // https://github.com/rust-lang/rust/issues/135100 
334323#[ unstable( feature = "bstr" ,  issue = "134915" ) ]  
335324impl  FromStr  for  ByteString  { 
336325    type  Err  = core:: convert:: Infallible ; 
@@ -488,7 +477,6 @@ impl PartialEq for ByteString {
488477
489478macro_rules!  impl_partial_eq_ord_cow { 
490479    ( $lhs: ty,  $rhs: ty)  => { 
491-         #[ cfg( not( test) ) ]  // https://github.com/rust-lang/rust/issues/135100 
492480        #[ allow( unused_lifetimes) ] 
493481        #[ unstable( feature = "bstr" ,  issue = "134915" ) ] 
494482        impl <' a> PartialEq <$rhs> for  $lhs { 
@@ -499,7 +487,6 @@ macro_rules! impl_partial_eq_ord_cow {
499487            } 
500488        } 
501489
502-         #[ cfg( not( test) ) ]  // https://github.com/rust-lang/rust/issues/135100 
503490        #[ allow( unused_lifetimes) ] 
504491        #[ unstable( feature = "bstr" ,  issue = "134915" ) ] 
505492        impl <' a> PartialEq <$lhs> for  $rhs { 
@@ -510,7 +497,6 @@ macro_rules! impl_partial_eq_ord_cow {
510497            } 
511498        } 
512499
513-         #[ cfg( not( test) ) ]  // https://github.com/rust-lang/rust/issues/135100 
514500        #[ allow( unused_lifetimes) ] 
515501        #[ unstable( feature = "bstr" ,  issue = "134915" ) ] 
516502        impl <' a> PartialOrd <$rhs> for  $lhs { 
@@ -521,7 +507,6 @@ macro_rules! impl_partial_eq_ord_cow {
521507            } 
522508        } 
523509
524-         #[ cfg( not( test) ) ]  // https://github.com/rust-lang/rust/issues/135100 
525510        #[ allow( unused_lifetimes) ] 
526511        #[ unstable( feature = "bstr" ,  issue = "134915" ) ] 
527512        impl <' a> PartialOrd <$lhs> for  $rhs { 
@@ -572,7 +557,6 @@ impl PartialOrd for ByteString {
572557    } 
573558} 
574559
575- #[ cfg( not( test) ) ]   // https://github.com/rust-lang/rust/issues/135100 
576560#[ unstable( feature = "bstr" ,  issue = "134915" ) ]  
577561impl  ToOwned  for  ByteStr  { 
578562    type  Owned  = ByteString ; 
@@ -605,7 +589,6 @@ impl<'a> TryFrom<&'a ByteString> for &'a str {
605589
606590// Additional impls for `ByteStr` that require types from `alloc`: 
607591
608- #[ cfg( not( test) ) ]   // https://github.com/rust-lang/rust/issues/135100 
609592#[ unstable( feature = "bstr" ,  issue = "134915" ) ]  
610593impl  Clone  for  Box < ByteStr >  { 
611594    #[ inline]  
@@ -614,7 +597,6 @@ impl Clone for Box<ByteStr> {
614597    } 
615598} 
616599
617- #[ cfg( not( test) ) ]   // https://github.com/rust-lang/rust/issues/135100 
618600#[ unstable( feature = "bstr" ,  issue = "134915" ) ]  
619601impl < ' a >  From < & ' a  ByteStr >  for  Cow < ' a ,  ByteStr >  { 
620602    #[ inline]  
@@ -623,7 +605,6 @@ impl<'a> From<&'a ByteStr> for Cow<'a, ByteStr> {
623605    } 
624606} 
625607
626- #[ cfg( not( test) ) ]   // https://github.com/rust-lang/rust/issues/135100 
627608#[ unstable( feature = "bstr" ,  issue = "134915" ) ]  
628609impl  From < Box < [ u8 ] > >  for  Box < ByteStr >  { 
629610    #[ inline]  
@@ -633,7 +614,6 @@ impl From<Box<[u8]>> for Box<ByteStr> {
633614    } 
634615} 
635616
636- #[ cfg( not( test) ) ]   // https://github.com/rust-lang/rust/issues/135100 
637617#[ unstable( feature = "bstr" ,  issue = "134915" ) ]  
638618impl  From < Box < ByteStr > >  for  Box < [ u8 ] >  { 
639619    #[ inline]  
0 commit comments