Created
December 16, 2017 09:32
-
-
Save xorl/3e30d19efdb929351454c3da06444eff 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
error[E0277]: the trait bound `(i32, i32, std::string::String, std::string::String, bool): diesel::Queryable<(diesel::types::Integer, diesel::types::Integer, diesel::types::Text, diesel::types::Text, diesel::types::Text, diesel::types::Text, diesel::types::Bool), diesel::pg::Pg>` is not satisfied | |
--> src/lib.rs:89:10 | |
| | |
89 | .get_result(&*conn) | |
| ^^^^^^^^^^ the trait `diesel::Queryable<(diesel::types::Integer, diesel::types::Integer, diesel::types::Text, diesel::types::Text, diesel::types::Text, diesel::types::Text, diesel::types::Bool), diesel::pg::Pg>` is not implemented for `(i32, i32, std::string::String, std::string::String, bool)` | |
| | |
= help: the following implementations were found: | |
<(A, B, C, D, E) as diesel::Queryable<(SA, SB, SC, SD, SE), DB>> | |
= note: required because of the requirements on the impl of `diesel::Queryable<(diesel::types::Integer, diesel::types::Integer, diesel::types::Text, diesel::types::Text, diesel::types::Text, diesel::types::Text, diesel::types::Bool), diesel::pg::Pg>` for `models::Post` | |
= note: required because of the requirements on the impl of `diesel::LoadQuery<diesel::PgConnection, models::Post>` for `diesel::query_builder::insert_statement::InsertStatement<schema::__diesel_infer_schema::infer_posts::posts::table, (diesel::insertable::ColumnInsertValue<schema::__diesel_infer_schema::infer_posts::posts::columns::user_id, diesel::expression::bound::Bound<diesel::types::Integer, &i32>>, diesel::insertable::ColumnInsertValue<schema::__diesel_infer_schema::infer_posts::posts::columns::title, diesel::expression::bound::Bound<diesel::types::Text, &&str>>, diesel::insertable::ColumnInsertValue<schema::__diesel_infer_schema::infer_posts::posts::columns::content, diesel::expression::bound::Bound<diesel::types::Text, &&str>>)>` | |
error: aborting due to previous error | |
error: Could not compile `blog_demo`. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment