]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/incorrect-move-async-order-issue-79694.fixed
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
[rust.git] / src / test / ui / parser / incorrect-move-async-order-issue-79694.fixed
1 // run-rustfix
2 // edition:2018
3
4 // Regression test for issue 79694
5
6 fn main() {
7     let _ = async move { }; //~ ERROR 7:13: 7:23: the order of `move` and `async` is incorrect
8 }