Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign updiesel did not compile #1705
Comments
This comment has been minimized.
|
Dupe of #1700 and #1701 |
Eijebong
closed this
May 18, 2018
Deedasmi
referenced this issue
May 24, 2018
Closed
Diesel 1.3.0 fails to build with the recent nightly #1729
Eijebong
referenced this issue
May 24, 2018
Closed
Compile fails on latest nightly rust 1.28.0 #1730
weiznich
referenced this issue
May 25, 2018
Closed
the trait bound `<expression::count::CountStar as expression::Expression>::SqlType: sql_types::ops::Add` is not satisfied #1731
weiznich
referenced this issue
Jun 6, 2018
Closed
Unable to build with latest nightly version. #1754
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
adals commentedMay 18, 2018
hello everyone
at my cargo.toml
diesel = { version = "1.2.0", features = ["postgres"] }
then compile i got
Win8:erp1 $ cargo run
Compiling diesel v1.2.2
error[E0053]: method
metadatahas an incompatible type for trait--> /Users/.cargo/registry/src/github.com-1ecc6299db9ec823/diesel-1.2.2/src/pg/types/array.rs:14:25
|
14 | fn metadata(lookup: &PgMetadataLookup) -> PgTypeMetadata {
| ^^^^^^^^^^^^^^^^^ expected associated type, found struct
pg::metadata_lookup::PgMetadataLookup|
::: /Users/.cargo/registry/src/github.com-1ecc6299db9ec823/diesel-1.2.2/src/sql_types/mod.rs:402:25
|
402 | fn metadata(lookup: &Self::MetadataLookup) -> Self::TypeMetadata;
| --------------------- type in trait
|
= note: expected type
fn(&<pg::backend::Pg as sql_types::TypeMetadata>::MetadataLookup) -> <pg::backend::Pg as sql_types::TypeMetadata>::TypeMetadatafound type
fn(&pg::metadata_lookup::PgMetadataLookup) -> pg::backend::PgTypeMetadataerror: aborting due to previous error
For more information about this error, try
rustc --explain E0053.error: Could not compile
diesel.To learn more, run the command again with --verbose.
Win8:~ $ rustc -V
rustc 1.27.0-nightly (2f2a11dfc 2018-05-16)