@@ -423,9 +423,9 @@ trait TraitAddBuiltinBoundToMethodTypeParameter {
423
423
424
424
425
425
426
- // Add lifetime bound to method type parameter ------------------------------------
426
+ // Add lifetime bound to method lifetime parameter ------------------------------------
427
427
#[ cfg( cfail1) ]
428
- trait TraitAddLifetimeBoundToMethodTypeParameter {
428
+ trait TraitAddLifetimeBoundToMethodLifetimeParameter {
429
429
fn method < ' a , ' b > ( a : & ' a u32 , b : & ' b u32 ) ;
430
430
}
431
431
@@ -434,7 +434,7 @@ trait TraitAddLifetimeBoundToMethodTypeParameter {
434
434
#[ rustc_clean( label="Hir" , cfg="cfail3" ) ]
435
435
#[ rustc_metadata_dirty( cfg="cfail2" ) ]
436
436
#[ rustc_metadata_clean( cfg="cfail3" ) ]
437
- trait TraitAddLifetimeBoundToMethodTypeParameter {
437
+ trait TraitAddLifetimeBoundToMethodLifetimeParameter {
438
438
fn method < ' a , ' b : ' a > ( a : & ' a u32 , b : & ' b u32 ) ;
439
439
}
440
440
@@ -474,9 +474,9 @@ trait TraitAddSecondBuiltinBoundToMethodTypeParameter {
474
474
475
475
476
476
477
- // Add second lifetime bound to method type parameter -----------------------------
477
+ // Add second lifetime bound to method lifetime parameter -----------------------------
478
478
#[ cfg( cfail1) ]
479
- trait TraitAddSecondLifetimeBoundToMethodTypeParameter {
479
+ trait TraitAddSecondLifetimeBoundToMethodLifetimeParameter {
480
480
fn method < ' a , ' b , ' c : ' a > ( a : & ' a u32 , b : & ' b u32 , c : & ' c u32 ) ;
481
481
}
482
482
@@ -485,7 +485,7 @@ trait TraitAddSecondLifetimeBoundToMethodTypeParameter {
485
485
#[ rustc_clean( label="Hir" , cfg="cfail3" ) ]
486
486
#[ rustc_metadata_dirty( cfg="cfail2" ) ]
487
487
#[ rustc_metadata_clean( cfg="cfail3" ) ]
488
- trait TraitAddSecondLifetimeBoundToMethodTypeParameter {
488
+ trait TraitAddSecondLifetimeBoundToMethodLifetimeParameter {
489
489
fn method < ' a , ' b , ' c : ' a + ' b > ( a : & ' a u32 , b : & ' b u32 , c : & ' c u32 ) ;
490
490
}
491
491
0 commit comments