3 #![feature(type_alias_impl_trait)]
5 use std::future::Future;
8 type Fut<'a> where Self: 'a;
9 fn make_fut<'a>(&'a self) -> Self::Fut<'a>;
12 impl MakeFut for &'_ mut () {
13 type Fut<'a> = impl Future<Output = ()>;
14 //~^ ERROR: the type `&mut ()` does not fulfill the required lifetime
16 fn make_fut<'a>(&'a self) -> Self::Fut<'a> {