@@ -664,10 +664,6 @@ pub enum ImplSource<'tcx, N> {
664
664
665
665
/// ImplSource for a `const Drop` implementation.
666
666
ConstDestruct ( ImplSourceConstDestructData < N > ) ,
667
-
668
- /// ImplSource for a `std::marker::Tuple` implementation.
669
- /// This has no nested predicates ever, so no data.
670
- Tuple ,
671
667
}
672
668
673
669
impl < ' tcx , N > ImplSource < ' tcx , N > {
@@ -682,8 +678,7 @@ impl<'tcx, N> ImplSource<'tcx, N> {
682
678
ImplSource :: Object ( d) => d. nested ,
683
679
ImplSource :: FnPointer ( d) => d. nested ,
684
680
ImplSource :: DiscriminantKind ( ImplSourceDiscriminantKindData )
685
- | ImplSource :: Pointee ( ImplSourcePointeeData )
686
- | ImplSource :: Tuple => Vec :: new ( ) ,
681
+ | ImplSource :: Pointee ( ImplSourcePointeeData ) => vec ! [ ] ,
687
682
ImplSource :: TraitAlias ( d) => d. nested ,
688
683
ImplSource :: TraitUpcasting ( d) => d. nested ,
689
684
ImplSource :: ConstDestruct ( i) => i. nested ,
@@ -701,8 +696,7 @@ impl<'tcx, N> ImplSource<'tcx, N> {
701
696
ImplSource :: Object ( d) => & d. nested ,
702
697
ImplSource :: FnPointer ( d) => & d. nested ,
703
698
ImplSource :: DiscriminantKind ( ImplSourceDiscriminantKindData )
704
- | ImplSource :: Pointee ( ImplSourcePointeeData )
705
- | ImplSource :: Tuple => & [ ] ,
699
+ | ImplSource :: Pointee ( ImplSourcePointeeData ) => & [ ] ,
706
700
ImplSource :: TraitAlias ( d) => & d. nested ,
707
701
ImplSource :: TraitUpcasting ( d) => & d. nested ,
708
702
ImplSource :: ConstDestruct ( i) => & i. nested ,
@@ -769,7 +763,6 @@ impl<'tcx, N> ImplSource<'tcx, N> {
769
763
nested : i. nested . into_iter ( ) . map ( f) . collect ( ) ,
770
764
} )
771
765
}
772
- ImplSource :: Tuple => ImplSource :: Tuple ,
773
766
}
774
767
}
775
768
}
0 commit comments