4 #![feature(async_fn_in_trait)]
5 #![feature(impl_trait_projections)]
6 #![allow(incomplete_features)]
10 trait MyTrait<'a, 'b, T> where Self: 'a, T: Debug + Sized + 'b {
13 async fn foo(&'a self, key: &'b T) -> Self::MyAssoc;
16 impl<'a, 'b, T: Debug + Sized + 'b, U: 'a> MyTrait<'a, 'b, T> for U {
17 type MyAssoc = (&'a U, &'b T);
19 async fn foo(&'a self, key: &'b T) -> (&'a U, &'b T) {