4 // Test member constraints that appear in the `impl Trait`
5 // return type of an async function.
6 // (This used to require a feature gate.)
8 trait Trait<'a, 'b> { }
9 impl<T> Trait<'_, '_> for T { }
11 async fn async_ret_impl_trait<'a, 'b>(a: &'a u8, b: &'b u8) -> impl Trait<'a, 'b> {
16 let _ = async_ret_impl_trait(&22, &44);