Last active
July 5, 2016 01:54
-
-
Save Arzte/9a5fabfa68eb60bbdf67033dfdc8074b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Compiling discord-bot v0.1.2 (file:///home/benjamin/git-projects/discord-bot) | |
| src/main.rs:133:37: 133:69 error: the trait bound `main::catfact: serde::Deserialize` is not satisfied [E0277] | |
| src/main.rs:133 let cat_facts = serde_json::from_str::<CatFacts>(&result).unwrap(); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| src/main.rs:133:37: 133:69 help: run `rustc --explain E0277` to see a detailed explanation | |
| src/main.rs:133:37: 133:69 note: required by `serde_json::from_str` | |
| src/main.rs:137:79: 137:88 error: the trait bound `std::vec::Vec<main::catfact>: std::fmt::Display` is not satisfied [E0277] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment