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