about summary refs log tree commit diff
path: root/tests/ui/async-await/incorrect-move-async-order-issue-79694.stderr
blob: 2a3d46cc97f286b1c3f0335eb45743f8496178a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 _ = move async { };
LL +     let _ = async move { };
   |

error: aborting due to 1 previous error