1 error[E0621]: explicit lifetime required in the type of `x`
2 --> $DIR/42701_one_named_and_one_anonymous.rs:20:9
4 15 | fn foo2<'a>(a: &'a Foo, x: &i32) -> &'a i32 {
5 | - consider changing the type of `x` to `&'a i32`
8 | ^^^ lifetime `'a` required
10 error: aborting due to previous error