1 error[E0312]: lifetime of reference outlives lifetime of borrowed content...
2 --> $DIR/ex1-return-one-existing-name-return-type-is-anon.rs:18:5
7 note: ...the reference is valid for the anonymous lifetime #1 defined on the method body at 16:3...
8 --> $DIR/ex1-return-one-existing-name-return-type-is-anon.rs:16:3
10 16 | / fn foo<'a>(&self, x: &'a i32) -> &i32 {
16 note: ...but the borrowed content is only valid for the lifetime 'a as defined on the method body at 16:3
17 --> $DIR/ex1-return-one-existing-name-return-type-is-anon.rs:16:3
19 16 | / fn foo<'a>(&self, x: &'a i32) -> &i32 {
26 error: aborting due to previous error