Created
January 13, 2015 22:39
-
-
Save drbawb/96d2d59dc03e46e27bc4 to your computer and use it in GitHub Desktop.
use of moved value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/drbawb/projects/piper/kyrie/src/world/services.rs:128:33: 128:41 error: use of moved value: `pub_sock` | |
/home/drbawb/projects/piper/kyrie/src/world/services.rs:128 let peer = ServicePeer::new(pub_sock, uid.clone()); | |
^~~~~~~~ | |
/home/drbawb/projects/piper/kyrie/src/world/services.rs:128:33: 128:41 note: `pub_sock` moved here because it has type `zmq::Socket`, which is non-copyable | |
/home/drbawb/projects/piper/kyrie/src/world/services.rs:128 let peer = ServicePeer::new(pub_sock, uid.clone()); | |
^~~~~~~~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment