From bd77b3972f4e8a9a7c92e71f76dbffabe8f57ed7 Mon Sep 17 00:00:00 2001 From: Andrea Pretto Date: Thu, 6 Oct 2016 10:05:48 +0200 Subject: [PATCH] Changed some names --- src/test/incremental/hashes/trait_defs.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/incremental/hashes/trait_defs.rs b/src/test/incremental/hashes/trait_defs.rs index 896428f1ed7f..58fbdabf8721 100644 --- a/src/test/incremental/hashes/trait_defs.rs +++ b/src/test/incremental/hashes/trait_defs.rs @@ -423,9 +423,9 @@ trait TraitAddBuiltinBoundToMethodTypeParameter { -// Add lifetime bound to method type parameter ------------------------------------ +// Add lifetime bound to method lifetime parameter ------------------------------------ #[cfg(cfail1)] -trait TraitAddLifetimeBoundToMethodTypeParameter { +trait TraitAddLifetimeBoundToMethodLifetimeParameter { fn method<'a, 'b>(a: &'a u32, b: &'b u32); } @@ -434,7 +434,7 @@ trait TraitAddLifetimeBoundToMethodTypeParameter { #[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_metadata_dirty(cfg="cfail2")] #[rustc_metadata_clean(cfg="cfail3")] -trait TraitAddLifetimeBoundToMethodTypeParameter { +trait TraitAddLifetimeBoundToMethodLifetimeParameter { fn method<'a, 'b: 'a>(a: &'a u32, b: &'b u32); } @@ -474,9 +474,9 @@ trait TraitAddSecondBuiltinBoundToMethodTypeParameter { -// Add second lifetime bound to method type parameter ----------------------------- +// Add second lifetime bound to method lifetime parameter ----------------------------- #[cfg(cfail1)] -trait TraitAddSecondLifetimeBoundToMethodTypeParameter { +trait TraitAddSecondLifetimeBoundToMethodLifetimeParameter { fn method<'a, 'b, 'c: 'a>(a: &'a u32, b: &'b u32, c: &'c u32); } @@ -485,7 +485,7 @@ trait TraitAddSecondLifetimeBoundToMethodTypeParameter { #[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_metadata_dirty(cfg="cfail2")] #[rustc_metadata_clean(cfg="cfail3")] -trait TraitAddSecondLifetimeBoundToMethodTypeParameter { +trait TraitAddSecondLifetimeBoundToMethodLifetimeParameter { fn method<'a, 'b, 'c: 'a + 'b>(a: &'a u32, b: &'b u32, c: &'c u32); }