]> git.lizzy.rs Git - rust.git/blob - src/test/ui/no-args-non-move-async-closure.stderr
Remove licenses
[rust.git] / src / test / ui / no-args-non-move-async-closure.stderr
1 error[E0708]: `async` non-`move` closures with arguments are not currently supported
2   --> $DIR/no-args-non-move-async-closure.rs:6:13
3    |
4 LL |     let _ = async |x: u8| {};
5    |             ^^^^^^^^^^^^^
6    |
7    = help: consider using `let` statements to manually capture variables by reference before entering an `async move` closure
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0708`.