Skip to content

Commit

Permalink
Update tests to use compile-pass
Browse files Browse the repository at this point in the history
  • Loading branch information
gavento committed May 2, 2018
1 parent 571337b commit a43171a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/rfc1598-generic-associated-types/shadowing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a43171a

Please sign in to comment.