about summary refs log tree commit diff
path: root/tests/ui/async-await/incorrect-move-async-order-issue-79694.rs
blob: 9c36a6c96da610a48e33ec66aca53fe4576db8f4 (plain)
1
2
3
4
5
6
7
8
//@ run-rustfix
//@ edition:2018

// Regression test for issue 79694

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