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