2020-12-18 10:32:26 -06:00
|
|
|
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 { };
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~~~~~~~
|
2020-12-18 10:32:26 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|