]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/incorrect-move-async-order-issue-79694.fixed
Rollup merge of #107027 - GuillaumeGomez:rm-extra-removal, r=tmiasko
[rust.git] / tests / ui / async-await / 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 }