@@ -649,7 +649,7 @@ pub enum ImplSource<'tcx, N> {
649649 /// for some type parameter. The `Vec<N>` represents the
650650 /// obligations incurred from normalizing the where-clause (if
651651 /// any).
652- Param ( ty :: BoundConstness , Vec < N > ) ,
652+ Param ( Vec < N > ) ,
653653
654654 /// Successful resolution for a builtin impl.
655655 Builtin ( BuiltinImplSource , Vec < N > ) ,
@@ -659,21 +659,21 @@ impl<'tcx, N> ImplSource<'tcx, N> {
659659 pub fn nested_obligations ( self ) -> Vec < N > {
660660 match self {
661661 ImplSource :: UserDefined ( i) => i. nested ,
662- ImplSource :: Param ( _ , n) | ImplSource :: Builtin ( _, n) => n,
662+ ImplSource :: Param ( n) | ImplSource :: Builtin ( _, n) => n,
663663 }
664664 }
665665
666666 pub fn borrow_nested_obligations ( & self ) -> & [ N ] {
667667 match self {
668668 ImplSource :: UserDefined ( i) => & i. nested ,
669- ImplSource :: Param ( _ , n) | ImplSource :: Builtin ( _, n) => & n,
669+ ImplSource :: Param ( n) | ImplSource :: Builtin ( _, n) => & n,
670670 }
671671 }
672672
673673 pub fn borrow_nested_obligations_mut ( & mut self ) -> & mut [ N ] {
674674 match self {
675675 ImplSource :: UserDefined ( i) => & mut i. nested ,
676- ImplSource :: Param ( _ , n) | ImplSource :: Builtin ( _, n) => n,
676+ ImplSource :: Param ( n) | ImplSource :: Builtin ( _, n) => n,
677677 }
678678 }
679679
@@ -687,7 +687,7 @@ impl<'tcx, N> ImplSource<'tcx, N> {
687687 args : i. args ,
688688 nested : i. nested . into_iter ( ) . map ( f) . collect ( ) ,
689689 } ) ,
690- ImplSource :: Param ( ct , n) => ImplSource :: Param ( ct , n. into_iter ( ) . map ( f) . collect ( ) ) ,
690+ ImplSource :: Param ( n) => ImplSource :: Param ( n. into_iter ( ) . map ( f) . collect ( ) ) ,
691691 ImplSource :: Builtin ( source, n) => {
692692 ImplSource :: Builtin ( source, n. into_iter ( ) . map ( f) . collect ( ) )
693693 }
0 commit comments