@@ -128,6 +128,7 @@ impl<T: Hash + Eq> HashSet<T, RandomSipHasher> {
128128 }
129129}
130130
131+ #[ old_impl_check]
131132impl < T : Eq + Hash < S > , S , H : Hasher < S > > HashSet < T , H > {
132133 /// Creates a new empty hash set which will use the given hasher to hash
133134 /// keys.
@@ -571,6 +572,7 @@ impl<T: Eq + Hash<S>, S, H: Hasher<S>> HashSet<T, H> {
571572}
572573
573574#[ stable]
575+ #[ old_impl_check]
574576impl < T : Eq + Hash < S > , S , H : Hasher < S > > PartialEq for HashSet < T , H > {
575577 fn eq ( & self , other : & HashSet < T , H > ) -> bool {
576578 if self . len ( ) != other. len ( ) { return false ; }
@@ -580,9 +582,11 @@ impl<T: Eq + Hash<S>, S, H: Hasher<S>> PartialEq for HashSet<T, H> {
580582}
581583
582584#[ stable]
585+ #[ old_impl_check]
583586impl < T : Eq + Hash < S > , S , H : Hasher < S > > Eq for HashSet < T , H > { }
584587
585588#[ stable]
589+ #[ old_impl_check]
586590impl < T : Eq + Hash < S > + fmt:: Show , S , H : Hasher < S > > fmt:: Show for HashSet < T , H > {
587591 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
588592 try!( write ! ( f, "{{" ) ) ;
@@ -597,6 +601,7 @@ impl<T: Eq + Hash<S> + fmt::Show, S, H: Hasher<S>> fmt::Show for HashSet<T, H> {
597601}
598602
599603#[ stable]
604+ #[ old_impl_check]
600605impl < T : Eq + Hash < S > , S , H : Hasher < S > + Default > FromIterator < T > for HashSet < T , H > {
601606 fn from_iter < I : Iterator < Item =T > > ( iter : I ) -> HashSet < T , H > {
602607 let lower = iter. size_hint ( ) . 0 ;
@@ -607,6 +612,7 @@ impl<T: Eq + Hash<S>, S, H: Hasher<S> + Default> FromIterator<T> for HashSet<T,
607612}
608613
609614#[ stable]
615+ #[ old_impl_check]
610616impl < T : Eq + Hash < S > , S , H : Hasher < S > > Extend < T > for HashSet < T , H > {
611617 fn extend < I : Iterator < Item =T > > ( & mut self , mut iter : I ) {
612618 for k in iter {
@@ -616,6 +622,7 @@ impl<T: Eq + Hash<S>, S, H: Hasher<S>> Extend<T> for HashSet<T, H> {
616622}
617623
618624#[ stable]
625+ #[ old_impl_check]
619626impl < T : Eq + Hash < S > , S , H : Hasher < S > + Default > Default for HashSet < T , H > {
620627 #[ stable]
621628 fn default ( ) -> HashSet < T , H > {
@@ -624,6 +631,7 @@ impl<T: Eq + Hash<S>, S, H: Hasher<S> + Default> Default for HashSet<T, H> {
624631}
625632
626633#[ stable]
634+ #[ old_impl_check]
627635impl < ' a , ' b , T : Eq + Hash < S > + Clone , S , H : Hasher < S > + Default >
628636BitOr < & ' b HashSet < T , H > > for & ' a HashSet < T , H > {
629637 type Output = HashSet < T , H > ;
@@ -654,6 +662,7 @@ BitOr<&'b HashSet<T, H>> for &'a HashSet<T, H> {
654662}
655663
656664#[ stable]
665+ #[ old_impl_check]
657666impl < ' a , ' b , T : Eq + Hash < S > + Clone , S , H : Hasher < S > + Default >
658667BitAnd < & ' b HashSet < T , H > > for & ' a HashSet < T , H > {
659668 type Output = HashSet < T , H > ;
@@ -684,6 +693,7 @@ BitAnd<&'b HashSet<T, H>> for &'a HashSet<T, H> {
684693}
685694
686695#[ stable]
696+ #[ old_impl_check]
687697impl < ' a , ' b , T : Eq + Hash < S > + Clone , S , H : Hasher < S > + Default >
688698BitXor < & ' b HashSet < T , H > > for & ' a HashSet < T , H > {
689699 type Output = HashSet < T , H > ;
@@ -714,6 +724,7 @@ BitXor<&'b HashSet<T, H>> for &'a HashSet<T, H> {
714724}
715725
716726#[ stable]
727+ #[ old_impl_check]
717728impl < ' a , ' b , T : Eq + Hash < S > + Clone , S , H : Hasher < S > + Default >
718729Sub < & ' b HashSet < T , H > > for & ' a HashSet < T , H > {
719730 type Output = HashSet < T , H > ;
@@ -816,6 +827,7 @@ impl<'a, K: 'a> Iterator for Drain<'a, K> {
816827}
817828
818829#[ stable]
830+ #[ old_impl_check]
819831impl < ' a , T , S , H > Iterator for Intersection < ' a , T , H >
820832 where T : Eq + Hash < S > , H : Hasher < S >
821833{
@@ -839,6 +851,7 @@ impl<'a, T, S, H> Iterator for Intersection<'a, T, H>
839851}
840852
841853#[ stable]
854+ #[ old_impl_check]
842855impl < ' a , T , S , H > Iterator for Difference < ' a , T , H >
843856 where T : Eq + Hash < S > , H : Hasher < S >
844857{
@@ -862,6 +875,7 @@ impl<'a, T, S, H> Iterator for Difference<'a, T, H>
862875}
863876
864877#[ stable]
878+ #[ old_impl_check]
865879impl < ' a , T , S , H > Iterator for SymmetricDifference < ' a , T , H >
866880 where T : Eq + Hash < S > , H : Hasher < S >
867881{
@@ -872,6 +886,7 @@ impl<'a, T, S, H> Iterator for SymmetricDifference<'a, T, H>
872886}
873887
874888#[ stable]
889+ #[ old_impl_check]
875890impl < ' a , T , S , H > Iterator for Union < ' a , T , H >
876891 where T : Eq + Hash < S > , H : Hasher < S >
877892{
0 commit comments