1 error[E0623]: lifetime mismatch
2 --> $DIR/ex3-both-anon-regions-self-is-anon.rs:7:19
4 LL | fn foo<'a>(&self, x: &Foo) -> &Foo {
7 | this parameter and the return type are declared with different lifetimes...
8 LL | if true { x } else { self }
9 | ^ ...but data from `x` is returned here
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0623`.