Skip to content

Instantly share code, notes, and snippets.

@zrneely
Created January 30, 2017 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zrneely/1b15782acd1641c9165c52b68ce486f5 to your computer and use it in GitHub Desktop.
Save zrneely/1b15782acd1641c9165c52b68ce486f5 to your computer and use it in GitHub Desktop.
error[E0277]: the trait bound `diesel::pg::PgConnection: diesel::Queryable<(diesel::types::Integer, diesel::types::Text, diesel::types::Integer, diesel::types::Bool), diesel::pg::Pg>` is not satisfied
--> src/database/mod.rs:38:53
|
38 | Ok(diesel::insert(&new_user).into(users::table).get_result(conn)?)
| ^^^^^^^^^^ the trait `diesel::Queryable<(diesel::types::Integer, diesel::types::Text, diesel::types::Integer, diesel::types::Bool), diesel::pg::Pg>` is not implemented for `diesel::pg::PgConnection`
error: aborting due to previous error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment