3 #![feature(impl_trait_in_bindings)]
4 //~^ WARN the feature `impl_trait_in_bindings` is incomplete
8 let f: impl core::future::Future<Output = u8> = async { 1 };
9 //~^ ERROR `async` blocks are not allowed in constants
10 //~| ERROR destructors cannot be evaluated at compile-time