Guest User

Untitled

a guest
Jan 23rd, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. error[E0499]: cannot borrow `hmap` as mutable more than once at a time
  2. --> src/main.rs:16:55
  3. |
  4. 16 | attendees.push(set_if_needed_and_get(&mut hmap, m.to_string()));
  5. | ^^^^ mutable borrow starts here in previous iteration of loop
  6. ...
  7. 19 | }
  8. | - mutable borrow ends here
  9.  
  10. error: aborting due to previous error
Add Comment
Please, Sign In to add comment