1 error: lifetime may not live long enough
2 --> $DIR/arbitrary_self_types_pin_lifetime_impl_trait.rs:8:31
4 LL | fn f(self: Pin<&Self>) -> impl Clone { self }
5 | - ^^^^^^^^^^ opaque type requires that `'1` must outlive `'static`
7 | let's call the lifetime of this reference `'1`
8 help: to allow this `impl Trait` to capture borrowed data with lifetime `'1`, add `'_` as a constraint
10 LL | fn f(self: Pin<&Self>) -> impl Clone + '_ { self }
13 error: aborting due to previous error