1 error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
2 --> $DIR/E0496.rs:16:10
4 15 | impl<'a> Foo<'a> {
5 | -- first declared here
6 16 | fn f<'a>(x: &'a i32) { //~ ERROR E0496
7 | ^^ lifetime 'a already in scope
9 error: aborting due to previous error