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