@@ -634,6 +634,10 @@ pub enum ImplSource<'tcx, N> {
634
634
635
635
/// ImplSource for a `const Drop` implementation.
636
636
ConstDestruct ( ImplSourceConstDestructData < N > ) ,
637
+
638
+ /// ImplSource for a `std::marker::Tuple` implementation.
639
+ /// This has no nested predicates ever, so no data.
640
+ Tuple ,
637
641
}
638
642
639
643
impl < ' tcx , N > ImplSource < ' tcx , N > {
@@ -648,7 +652,8 @@ impl<'tcx, N> ImplSource<'tcx, N> {
648
652
ImplSource :: Object ( d) => d. nested ,
649
653
ImplSource :: FnPointer ( d) => d. nested ,
650
654
ImplSource :: DiscriminantKind ( ImplSourceDiscriminantKindData )
651
- | ImplSource :: Pointee ( ImplSourcePointeeData ) => Vec :: new ( ) ,
655
+ | ImplSource :: Pointee ( ImplSourcePointeeData )
656
+ | ImplSource :: Tuple => Vec :: new ( ) ,
652
657
ImplSource :: TraitAlias ( d) => d. nested ,
653
658
ImplSource :: TraitUpcasting ( d) => d. nested ,
654
659
ImplSource :: ConstDestruct ( i) => i. nested ,
@@ -666,7 +671,8 @@ impl<'tcx, N> ImplSource<'tcx, N> {
666
671
ImplSource :: Object ( d) => & d. nested ,
667
672
ImplSource :: FnPointer ( d) => & d. nested ,
668
673
ImplSource :: DiscriminantKind ( ImplSourceDiscriminantKindData )
669
- | ImplSource :: Pointee ( ImplSourcePointeeData ) => & [ ] ,
674
+ | ImplSource :: Pointee ( ImplSourcePointeeData )
675
+ | ImplSource :: Tuple => & [ ] ,
670
676
ImplSource :: TraitAlias ( d) => & d. nested ,
671
677
ImplSource :: TraitUpcasting ( d) => & d. nested ,
672
678
ImplSource :: ConstDestruct ( i) => & i. nested ,
@@ -733,6 +739,7 @@ impl<'tcx, N> ImplSource<'tcx, N> {
733
739
nested : i. nested . into_iter ( ) . map ( f) . collect ( ) ,
734
740
} )
735
741
}
742
+ ImplSource :: Tuple => ImplSource :: Tuple ,
736
743
}
737
744
}
738
745
}
0 commit comments