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

// Regression test for issue 79694

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