Advertisement
Guest User

Untitled

a guest
Dec 13th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. error[E0596]: cannot borrow immutable field `self.feeds` as mutable
  2. --> src/world.rs:110:46
  3. |
  4. 81 | pub fn replay(self, filenames: Vec<&str>) -> Result<(), String> {
  5. | ---- consider changing this to `mut self`
  6. ...
  7. 110 | let book_handler = &mut (self.feeds[filehead.book_index].0);
  8. | ^^^^^^^^^^ cannot mutably borrow immutable field
  9.  
  10. error: aborting due to previous error
  11.  
  12. error: Could not compile `numisma`.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement