3 #![feature(type_alias_impl_trait)]
5 type F = impl core::future::Future<Output = u8>;
9 fn concrete_use() -> F {
10 //~^ ERROR expected `impl Future<Output = ()>` to be a future that resolves to `u8`, but it resolves to `()`
13 let f: F = async { 1 };
14 //~^ ERROR `async` blocks are not allowed in constants
15 //~| ERROR destructor of