fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
376 B13 linesraw
1error[E0623]: lifetime mismatch
2  --> $DIR/issue-63388-1.rs:14:9
3   |
4LL |         &'a self, foo: &dyn Foo
5   |         -------- this parameter and the return type are declared with different lifetimes...
6LL |     ) -> &dyn Foo
7   |          --------
8LL |     {
9LL |         foo
10   |         ^^^ ...but data from `foo` is returned here
11
12error: aborting due to previous error
13