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