summaryrefslogtreecommitdiffstats
path: root/src/test/ui/async-await/incorrect-move-async-order-issue-79694.rs
blob: e8be16516d6d3dfd50245899d724ddf41474e454 (plain)
1
2
3
4
5
6
7
8
// run-rustfix
// edition:2018

// Regression test for issue 79694

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