Skip to content

Instantly share code, notes, and snippets.

@cholcombe973
Created April 3, 2017 23:33
Show Gist options
  • Save cholcombe973/e0f5648d6651259c859af1c7c51127fb to your computer and use it in GitHub Desktop.
Save cholcombe973/e0f5648d6651259c859af1c7c51127fb to your computer and use it in GitHub Desktop.
error[E0382]: use of moved value: `zpool_create`
--> src/block.rs:288:31
|
263 | zpool_create.and_then(|_| {
| ------------ value moved here
...
288 | return Ok(zpool_create);
| ^^^^^^^^^^^^ value used here after move
|
= note: move occurs because `zpool_create` has type `tokio_process::OutputAsync`, which does not implement the `Copy` trait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment