2019-08-27 06:24:32 -05:00
|
|
|
error[E0708]: `async` non-`move` closures with parameters are not currently supported
|
2019-08-27 08:47:41 -05:00
|
|
|
--> $DIR/no-params-non-move-async-closure.rs:6:13
|
2019-05-24 15:49:34 -05:00
|
|
|
|
|
|
|
|
LL | let _ = async |x: u8| {};
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider using `let` statements to manually capture variables by reference before entering an `async move` closure
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2020-03-31 08:15:26 -05:00
|
|
|
For more information about this error, try `rustc --explain E0708`.
|