1 error[E0597]: `bar` does not live long enough
2 --> $DIR/feature-self-return-type.rs:22:18
5 | - borrow later stored here
7 LL | Foo::new(&bar).await
8 | ^^^^ borrowed value does not live long enough
11 | - `bar` dropped here while still borrowed
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0597`.