1 error[E0623]: lifetime mismatch
2 --> $DIR/issue-63388-1.rs:14:9
4 LL | &'a self, foo: &dyn Foo
5 | -------- this parameter and the return type are declared with different lifetimes...
10 | ^^^ ...but data from `foo` is returned here
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0623`.