fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: lifetime may not live long enough 2 --> $DIR/issue-63388-1.rs:13:5 3 | 4LL | async fn do_sth<'a>( 5 | -- lifetime `'a` defined here 6LL | &'a self, foo: &dyn Foo 7 | - let's call the lifetime of this reference `'1` 8LL | ) -> &dyn Foo 9LL | / { 10LL | | foo 11LL | | } 12 | |_____^ associated function was supposed to return data with lifetime `'a` but it is returning data with lifetime `'1` 13 14error: aborting due to previous error 15