1 #![feature(async_closure)]
5 async fn an_async_block() -> u32 {
7 let x: Option<u32> = None;
8 x?; //~ ERROR the `?` operator
14 async fn async_closure_containing_fn() -> u32 {
15 let async_closure = async || {
16 let x: Option<u32> = None;
17 x?; //~ ERROR the `?` operator
24 async fn an_async_function() -> u32 {
25 let x: Option<u32> = None;
26 x?; //~ ERROR the `?` operator