mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
9 lines
179 B
Rust
9 lines
179 B
Rust
//@ 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
|
|
}
|