mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
14 lines
317 B
Plaintext
14 lines
317 B
Plaintext
error: the order of `move` and `async` is incorrect
|
|
--> $DIR/incorrect-move-async-order-issue-79694.rs:7:13
|
|
|
|
|
LL | let _ = move async { };
|
|
| ^^^^^^^^^^
|
|
|
|
|
help: try switching the order
|
|
|
|
|
LL | let _ = async move { };
|
|
| ~~~~~~~~~~
|
|
|
|
error: aborting due to previous error
|
|
|