implement type_implments_trait query
This commit is contained in:
parent
a1104b4dea
commit
10d7da4e0b
10 changed files with 120 additions and 42 deletions
|
@ -7,7 +7,8 @@ async fn an_async_block() -> u32 {
|
|||
let x: Option<u32> = None;
|
||||
x?; //~ ERROR the `?` operator
|
||||
22
|
||||
}.await
|
||||
}
|
||||
.await
|
||||
}
|
||||
|
||||
async fn async_closure_containing_fn() -> u32 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue