@@ -212,7 +212,7 @@ pub fn decode_region<'a, 'tcx, D>(decoder: &mut D) -> Result<ty::Region<'tcx>, D
212212
213213#[ inline]
214214pub fn decode_ty_slice < ' a , ' tcx , D > ( decoder : & mut D )
215- -> Result < & ' tcx ty:: Slice < Ty < ' tcx > > , D :: Error >
215+ -> Result < & ' tcx ty:: List < Ty < ' tcx > > , D :: Error >
216216 where D : TyDecoder < ' a , ' tcx > ,
217217 ' tcx : ' a ,
218218{
@@ -232,7 +232,7 @@ pub fn decode_adt_def<'a, 'tcx, D>(decoder: &mut D)
232232
233233#[ inline]
234234pub fn decode_existential_predicate_slice < ' a , ' tcx , D > ( decoder : & mut D )
235- -> Result < & ' tcx ty:: Slice < ty:: ExistentialPredicate < ' tcx > > , D :: Error >
235+ -> Result < & ' tcx ty:: List < ty:: ExistentialPredicate < ' tcx > > , D :: Error >
236236 where D : TyDecoder < ' a , ' tcx > ,
237237 ' tcx : ' a ,
238238{
@@ -366,10 +366,10 @@ macro_rules! implement_ty_decoder {
366366 }
367367 }
368368
369- impl <$( $typaram) ,* > SpecializedDecoder <& ' tcx ty:: Slice <ty:: Ty <' tcx>>>
369+ impl <$( $typaram) ,* > SpecializedDecoder <& ' tcx ty:: List <ty:: Ty <' tcx>>>
370370 for $DecoderName<$( $typaram) ,* > {
371371 fn specialized_decode( & mut self )
372- -> Result <& ' tcx ty:: Slice <ty:: Ty <' tcx>>, Self :: Error > {
372+ -> Result <& ' tcx ty:: List <ty:: Ty <' tcx>>, Self :: Error > {
373373 decode_ty_slice( self )
374374 }
375375 }
@@ -381,10 +381,10 @@ macro_rules! implement_ty_decoder {
381381 }
382382 }
383383
384- impl <$( $typaram) ,* > SpecializedDecoder <& ' tcx ty:: Slice <ty:: ExistentialPredicate <' tcx>>>
384+ impl <$( $typaram) ,* > SpecializedDecoder <& ' tcx ty:: List <ty:: ExistentialPredicate <' tcx>>>
385385 for $DecoderName<$( $typaram) ,* > {
386386 fn specialized_decode( & mut self )
387- -> Result <& ' tcx ty:: Slice <ty:: ExistentialPredicate <' tcx>>, Self :: Error > {
387+ -> Result <& ' tcx ty:: List <ty:: ExistentialPredicate <' tcx>>, Self :: Error > {
388388 decode_existential_predicate_slice( self )
389389 }
390390 }
0 commit comments