about summary refs log tree commit diff
path: root/tests/ui/async-await/incorrect-move-async-order-issue-79694.rs
blob: 81ffbacc3273fc26a4b88274fbcd2e37aa9b78dd (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
}