Skip to content

Instantly share code, notes, and snippets.

@Arzte
Last active July 5, 2016 01:54
Show Gist options
  • Save Arzte/9a5fabfa68eb60bbdf67033dfdc8074b to your computer and use it in GitHub Desktop.
Save Arzte/9a5fabfa68eb60bbdf67033dfdc8074b to your computer and use it in GitHub Desktop.
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