Advertisement
Guest User

Untitled

a guest
Feb 21st, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. tom@soyuz:~/Downloads/space$ cargo build
  2. Compiling space v0.1.0 (file:///home/tom/Downloads/space)
  3. error[E0308]: mismatched types
  4. --> src/engines.rs:16:22
  5. |
  6. 16 | stream.write(c);
  7. | ^ expected &[u8], found enum `ship::_IMPL_DESERIALIZE_FOR_Ship::_serde::export::Option`
  8. |
  9. = note: expected type `&[u8]`
  10. found type `ship::_IMPL_DESERIALIZE_FOR_Ship::_serde::export::Option<ship::_IMPL_DESERIALIZE_FOR_Ship::_serde::export::Result<u8, std::io::Error>>`
  11. = help: here are some functions which might fulfill your needs:
  12. - .map_or(...)
  13. - .map_or_else(...)
  14.  
  15. error: aborting due to previous error
  16.  
  17. error: Could not compile `space`.
  18.  
  19. To learn more, run the command again with --verbose.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement