]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/incorrect-move-async-order-issue-79694.fixed
remove [async output] from impl Future
[rust.git] / src / test / ui / async-await / incorrect-move-async-order-issue-79694.fixed
1 // run-rustfix
2 // edition:2018
3
4 // Regression test for issue 79694
5
6 fn main() {
7     let _ = async move { }; //~ ERROR 7:13: 7:23: the order of `move` and `async` is incorrect
8 }