1 2 3 4 5 6 7 8 9 10 11 12
// edition:2021 pub trait T {} impl T for () {} pub struct S {} impl S { pub async fn f<'a>(&self) -> impl T + 'a { () } }