mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
Fix E0373 code example
This commit is contained in:
parent
174135fb3b
commit
63deae5e25
@ -53,7 +53,7 @@ about safety.
|
||||
|
||||
This error may also be encountered while using `async` blocks:
|
||||
|
||||
```compile_fail,E0373
|
||||
```compile_fail,E0373,edition2018
|
||||
use std::{sync::Arc, future::Future, pin::Pin, task::{Context, Poll}};
|
||||
|
||||
async fn f() {
|
||||
|
Loading…
Reference in New Issue
Block a user