Isoraqathedh

Untitled

Nov 12th, 2015
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. >cargo build
  2. Compiling wordgen v0.1.0 (file:///C:/Users/isoraqathedh/Documents/Programming/rust/wordgen)
  3. src\main.rs:32:10: 32:22 error: no method named `getMatches` found for type `clap::app::app::App<'_, '_, '_, '_, '_, '_>
  4. ` in the current scope
  5. src\main.rs:32 .getMatches(); // Don't care about the app itself, just the args it returns
  6. ^~~~~~~~~~~~
  7. src\main.rs:43:60: 43:72 error: the trait `core::cmp::Eq` is not implemented for the type `PartOfSpeech` [E0277]
  8. src\main.rs:43 let word_list_hashmap: HashMap<PartOfSpeech, String> = HashMap::new();
  9. ^~~~~~~~~~~~
  10. src\main.rs:43:60: 43:72 help: run `rustc --explain E0277` to see a detailed explanation
  11. src\main.rs:43:60: 43:72 note: required by `std::collections::hash::map::HashMap<K, V, RandomState>::new`
  12. src\main.rs:43:60: 43:72 error: the trait `core::hash::Hash` is not implemented for the type `PartOfSpeech` [E0277]
  13. src\main.rs:43 let word_list_hashmap: HashMap<PartOfSpeech, String> = HashMap::new();
  14. ^~~~~~~~~~~~
  15. src\main.rs:43:60: 43:72 help: run `rustc --explain E0277` to see a detailed explanation
  16. src\main.rs:43:60: 43:72 note: required by `std::collections::hash::map::HashMap<K, V, RandomState>::new`
  17. src\main.rs:45:17: 45:42 error: the type of this value must be known in this context
  18. src\main.rs:45 let input = matches.value_of("CHARS")
  19. ^~~~~~~~~~~~~~~~~~~~~~~~~
  20. src\main.rs:58:33: 58:43 error: no method named `toString` found for type `&S2` in the current scope
  21. src\main.rs:58 let characters = characters.toString()[..char_take].to_string(); // Cut out a bit
  22. ^~~~~~~~~~
  23. error: aborting due to 5 previous errors
  24. Could not compile `wordgen`.
Advertisement
Add Comment
Please, Sign In to add comment