]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/incorrect-move-async-order-issue-79694.fixed
Rollup merge of #80254 - Aaron1011:rustdoc-auto-param-env, r=estebank
[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 }