summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/incorrect-move-async-order-issue-79694.fixed
blob: 055800d23b6c6ee39c287c24f9392dfc20e8ae61 (plain)
1
2
3
4
5
6
7
8
// run-rustfix
// edition:2018

// Regression test for issue 79694

fn main() {
    let _ = async move { }; //~ ERROR 7:13: 7:23: the order of `move` and `async` is incorrect
}