@@ -2516,7 +2516,7 @@ impl<'tcx> TyCtxt<'tcx> {
2516
2516
self . mk_ty ( Tuple ( self . intern_type_list ( & ts) ) )
2517
2517
}
2518
2518
2519
- pub fn mk_tup < I : InternAs < [ Ty < ' tcx > ] , Ty < ' tcx > > > ( self , iter : I ) -> I :: Output {
2519
+ pub fn mk_tup < I : InternAs < Ty < ' tcx > , Ty < ' tcx > > > ( self , iter : I ) -> I :: Output {
2520
2520
iter. intern_with ( |ts| self . mk_ty ( Tuple ( self . intern_type_list ( & ts) ) ) )
2521
2521
}
2522
2522
@@ -2776,33 +2776,33 @@ impl<'tcx> TyCtxt<'tcx> {
2776
2776
}
2777
2777
2778
2778
pub fn mk_poly_existential_predicates <
2779
- I : InternAs < [ PolyExistentialPredicate < ' tcx > ] , & ' tcx List < PolyExistentialPredicate < ' tcx > > > ,
2779
+ I : InternAs < PolyExistentialPredicate < ' tcx > , & ' tcx List < PolyExistentialPredicate < ' tcx > > > ,
2780
2780
> (
2781
2781
self ,
2782
2782
iter : I ,
2783
2783
) -> I :: Output {
2784
2784
iter. intern_with ( |xs| self . intern_poly_existential_predicates ( xs) )
2785
2785
}
2786
2786
2787
- pub fn mk_predicates < I : InternAs < [ Predicate < ' tcx > ] , & ' tcx List < Predicate < ' tcx > > > > (
2787
+ pub fn mk_predicates < I : InternAs < Predicate < ' tcx > , & ' tcx List < Predicate < ' tcx > > > > (
2788
2788
self ,
2789
2789
iter : I ,
2790
2790
) -> I :: Output {
2791
2791
iter. intern_with ( |xs| self . intern_predicates ( xs) )
2792
2792
}
2793
2793
2794
- pub fn mk_type_list < I : InternAs < [ Ty < ' tcx > ] , & ' tcx List < Ty < ' tcx > > > > ( self , iter : I ) -> I :: Output {
2794
+ pub fn mk_type_list < I : InternAs < Ty < ' tcx > , & ' tcx List < Ty < ' tcx > > > > ( self , iter : I ) -> I :: Output {
2795
2795
iter. intern_with ( |xs| self . intern_type_list ( xs) )
2796
2796
}
2797
2797
2798
- pub fn mk_substs < I : InternAs < [ GenericArg < ' tcx > ] , & ' tcx List < GenericArg < ' tcx > > > > (
2798
+ pub fn mk_substs < I : InternAs < GenericArg < ' tcx > , & ' tcx List < GenericArg < ' tcx > > > > (
2799
2799
self ,
2800
2800
iter : I ,
2801
2801
) -> I :: Output {
2802
2802
iter. intern_with ( |xs| self . intern_substs ( xs) )
2803
2803
}
2804
2804
2805
- pub fn mk_place_elems < I : InternAs < [ PlaceElem < ' tcx > ] , & ' tcx List < PlaceElem < ' tcx > > > > (
2805
+ pub fn mk_place_elems < I : InternAs < PlaceElem < ' tcx > , & ' tcx List < PlaceElem < ' tcx > > > > (
2806
2806
self ,
2807
2807
iter : I ,
2808
2808
) -> I :: Output {
@@ -2835,7 +2835,7 @@ impl<'tcx> TyCtxt<'tcx> {
2835
2835
}
2836
2836
2837
2837
pub fn mk_bound_variable_kinds <
2838
- I : InternAs < [ ty:: BoundVariableKind ] , & ' tcx List < ty:: BoundVariableKind > > ,
2838
+ I : InternAs < ty:: BoundVariableKind , & ' tcx List < ty:: BoundVariableKind > > ,
2839
2839
> (
2840
2840
self ,
2841
2841
iter : I ,
0 commit comments