Update tests to use compile-pass

This commit is contained in:
Tomas Gavenciak 2018-05-03 00:34:34 +02:00
parent 571337b3dd
commit a43171a242

View file

@ -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