rust/tests/ui/async-await/incorrect-move-async-order-issue-79694.fixed

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
177 B
Rust
Raw Normal View History

// 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
}