]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/incorrect-move-async-order-issue-79694.stderr
Rollup merge of #106960 - estebank:parse-anon-enums, r=cjgillot
[rust.git] / tests / ui / async-await / incorrect-move-async-order-issue-79694.stderr
1 error: the order of `move` and `async` is incorrect
2   --> $DIR/incorrect-move-async-order-issue-79694.rs:7:13
3    |
4 LL |     let _ = move async { };
5    |             ^^^^^^^^^^
6    |
7 help: try switching the order
8    |
9 LL |     let _ = async move { };
10    |             ~~~~~~~~~~
11
12 error: aborting due to previous error
13