-// check-pass
// edition:2018
#![feature(generic_associated_types)]
fn search<'c>(&'c self, _client: &'c ()) -> Self::Future<'c, Self, Criteria> {
async move { todo!() }
+ //~^ ERROR: the size for values of type `A` cannot be known at compilation time
}
}