@@ -664,10 +664,6 @@ pub enum ImplSource<'tcx, N> {
664664
665665 /// ImplSource for a `const Drop` implementation.
666666 ConstDestruct ( ImplSourceConstDestructData < N > ) ,
667-
668- /// ImplSource for a `std::marker::Tuple` implementation.
669- /// This has no nested predicates ever, so no data.
670- Tuple ,
671667}
672668
673669impl < ' tcx , N > ImplSource < ' tcx , N > {
@@ -682,8 +678,7 @@ impl<'tcx, N> ImplSource<'tcx, N> {
682678 ImplSource :: Object ( d) => d. nested ,
683679 ImplSource :: FnPointer ( d) => d. nested ,
684680 ImplSource :: DiscriminantKind ( ImplSourceDiscriminantKindData )
685- | ImplSource :: Pointee ( ImplSourcePointeeData )
686- | ImplSource :: Tuple => Vec :: new ( ) ,
681+ | ImplSource :: Pointee ( ImplSourcePointeeData ) => vec ! [ ] ,
687682 ImplSource :: TraitAlias ( d) => d. nested ,
688683 ImplSource :: TraitUpcasting ( d) => d. nested ,
689684 ImplSource :: ConstDestruct ( i) => i. nested ,
@@ -701,8 +696,7 @@ impl<'tcx, N> ImplSource<'tcx, N> {
701696 ImplSource :: Object ( d) => & d. nested ,
702697 ImplSource :: FnPointer ( d) => & d. nested ,
703698 ImplSource :: DiscriminantKind ( ImplSourceDiscriminantKindData )
704- | ImplSource :: Pointee ( ImplSourcePointeeData )
705- | ImplSource :: Tuple => & [ ] ,
699+ | ImplSource :: Pointee ( ImplSourcePointeeData ) => & [ ] ,
706700 ImplSource :: TraitAlias ( d) => & d. nested ,
707701 ImplSource :: TraitUpcasting ( d) => & d. nested ,
708702 ImplSource :: ConstDestruct ( i) => & i. nested ,
@@ -769,7 +763,6 @@ impl<'tcx, N> ImplSource<'tcx, N> {
769763 nested : i. nested . into_iter ( ) . map ( f) . collect ( ) ,
770764 } )
771765 }
772- ImplSource :: Tuple => ImplSource :: Tuple ,
773766 }
774767 }
775768}
0 commit comments