fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
444 B14 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
14For more information about this error, try `rustc --explain E0623`.