We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 metadata has an incompatible type for trait --> /Users/.cargo/registry/src/gh.neting.cc-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/gh.neting.cc-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>::TypeMetadata found type fn(&pg::metadata_lookup::PgMetadataLookup) -> pg::backend::PgTypeMetadata
metadata
pg::metadata_lookup::PgMetadataLookup
fn(&<pg::backend::Pg as sql_types::TypeMetadata>::MetadataLookup) -> <pg::backend::Pg as sql_types::TypeMetadata>::TypeMetadata
fn(&pg::metadata_lookup::PgMetadataLookup) -> pg::backend::PgTypeMetadata
error: aborting due to previous error
For more information about this error, try rustc --explain E0053. error: Could not compile diesel.
rustc --explain E0053
diesel
To learn more, run the command again with --verbose.
Win8:~ $ rustc -V rustc 1.27.0-nightly (2f2a11dfc 2018-05-16)
The text was updated successfully, but these errors were encountered:
Dupe of #1700 and #1701 This is getting fixed there: rust-lang/rust#50876
Sorry, something went wrong.
<expression::count::CountStar as expression::Expression>::SqlType: sql_types::ops::Add
No branches or pull requests
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
metadata
has an incompatible type for trait--> /Users/.cargo/registry/src/gh.neting.cc-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/gh.neting.cc-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>::TypeMetadata
found type
fn(&pg::metadata_lookup::PgMetadataLookup) -> pg::backend::PgTypeMetadata
error: 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)
The text was updated successfully, but these errors were encountered: