Created
January 16, 2019 05:44
-
-
Save rainhead/44c1a51fa1b3e715225bf853e09a8254 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
error[E0507]: cannot move out of borrowed content | |
--> src/main.rs:67:26 | |
| | |
67 | let mut vv = *views.borrow_mut(); | |
| ^^^^^^^^^^^^^^^^^^^ | |
| | | |
| cannot move out of borrowed content | |
| help: consider removing the `*`: `views.borrow_mut()` | |
error[E0507]: cannot move out of data in a `&` reference | |
--> src/main.rs:67:26 | |
| | |
67 | let mut vv = *views.borrow_mut(); | |
| ^^^^^^^^^^^^^^^^^^^ | |
| | | |
| cannot move out of data in a `&` reference | |
| cannot move | |
error[E0382]: use of moved value: `msg` | |
--> src/main.rs:69:29 | |
| | |
69 | view.update(msg); | |
| ^^^ value moved here, in previous iteration of loop | |
| | |
= note: move occurs because `msg` has type `warp::filters::ws::Message`, 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