From a43171a24257f015113ecf494286d39f47db88ac Mon Sep 17 00:00:00 2001 From: Tomas Gavenciak Date: Thu, 3 May 2018 00:34:34 +0200 Subject: [PATCH] Update tests to use compile-pass --- src/test/ui/rfc1598-generic-associated-types/shadowing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/ui/rfc1598-generic-associated-types/shadowing.rs b/src/test/ui/rfc1598-generic-associated-types/shadowing.rs index 6ed7380f3f87a..f0e711e71e341 100644 --- a/src/test/ui/rfc1598-generic-associated-types/shadowing.rs +++ b/src/test/ui/rfc1598-generic-associated-types/shadowing.rs @@ -13,7 +13,7 @@ //FIXME(#44265): The lifetime shadowing and type parameter shadowing // should cause an error. Now it compiles (errorneously) and this will be addressed // by a future PR. Then remove the following: -// must-compile-successfully +// compile-pass trait Shadow<'a> { type Bar<'a>; // Error: shadowed lifetime