blob: 5367b986d2b8dff2aadf50f42fcb756bda5765aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
|