2019-08-27 13:24:32 +02:00
|
|
|
error[E0708]: `async` non-`move` closures with parameters are not currently supported
|
2019-08-27 15:47:41 +02:00
|
|
|
--> $DIR/no-params-non-move-async-closure.rs:6:13
|
2019-05-24 21:49:34 +01: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 18:45:26 +05:30
|
|
|
For more information about this error, try `rustc --explain E0708`.
|