1 #![feature(type_alias_impl_trait)]
3 // this test used to stack overflow due to infinite recursion.
5 // compile-flags: --edition=2018
7 use std::future::Future;
10 let _ = move || async move {
16 type BlahFut<'a> = impl Future<Output = ()> + Send + 'a;
17 fn blah<'a>(_value: &'a u8) -> BlahFut<'a> {