You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0053]: method sea_idens has an incompatible type for trait
--> src/db/test.rs:5:24
|
5 | #[derive(Debug, Clone, modql::field::Fields, FromRow, Serialize)]
| ^^^^^^^^^^^^^^^^^^^^ expected SeaRc<dyn Iden>, found SeaRc<(dyn Iden + 'static)>
|
= note: expected signature fn() -> Vec<sea_query::types::SeaRc<(dyn sea_query::types::Iden + 'static)>>
found signature fn() -> Vec<SeaRc<(dyn Iden + 'static)>>
= note: this error originates in the derive macro modql::field::Fields (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0053]: method sea_column_refs has an incompatible type for trait
--> src/db/test.rs:5:24
|
5 | #[derive(Debug, Clone, modql::field::Fields, FromRow, Serialize)]
| ^^^^^^^^^^^^^^^^^^^^ expected sea_query::types::ColumnRef, found ColumnRef
|
= note: expected signature fn() -> Vec<sea_query::types::ColumnRef>
found signature fn() -> Vec<ColumnRef>
= note: this error originates in the derive macro modql::field::Fields (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0053]: method sea_column_refs_with_rel has an incompatible type for trait
--> src/db/test.rs:5:24
|
5 | #[derive(Debug, Clone, modql::field::Fields, FromRow, Serialize)]
| ^^^^^^^^^^^^^^^^^^^^ expected sea_query::types::ColumnRef, found ColumnRef
|
= note: expected signature fn(_) -> Vec<sea_query::types::ColumnRef>
found signature fn(_) -> Vec<ColumnRef>
= note: this error originates in the derive macro modql::field::Fields (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound SIden: IntoIden is not satisfied
--> src/db/test.rs:5:24
|
5 | #[derive(Debug, Clone, modql::field::Fields, FromRow, Serialize)]
| ^^^^^^^^^^^^^^^^^^^^ the trait Iden is not implemented for SIden, which is required by SIden: IntoIden
|
= help: the following other types implement trait Iden:
Alias
MySqlType
NullAlias
PgLTree
= note: required for SIden to implement IntoIden
= note: this error originates in the derive macro modql::field::Fields (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the method into_iden exists for struct SIden, but its trait bounds were not satisfied
--> src/db/test.rs:5:24
|
5 | #[derive(Debug, Clone, modql::field::Fields, FromRow, Serialize)]
| ^^^^^^^^^^^^^^^^^^^^
|
::: /home/vincent/.cargo/registry/src/index.crates.io-6f17d22bba15001f/modql-0.4.0/src/sea_utils.rs:19:1
|
19 | pub struct SIden(pub &'static str);
| ---------------- doesn't satisfy SIden: Iden or SIden: IntoIden
|
= note: the following trait bounds were not satisfied: SIden: Iden
which is required by SIden: IntoIden &SIden: Iden
which is required by &SIden: IntoIden &mut SIden: Iden
which is required by &mut SIden: IntoIden
= help: items from traits can only be used if the trait is in scope
= note: this error originates in the derive macro modql::field::Fields (in Nightly builds, run with -Z macro-backtrace for more info)
help: trait IntoIden which provides into_iden is implemented but not in scope; perhaps you want to import it
|
1 + use sea_query::types::IntoIden;
|
The text was updated successfully, but these errors were encountered:
error[E0053]: method
sea_idens
has an incompatible type for trait--> src/db/test.rs:5:24
|
5 | #[derive(Debug, Clone, modql::field::Fields, FromRow, Serialize)]
| ^^^^^^^^^^^^^^^^^^^^ expected
SeaRc<dyn Iden>
, foundSeaRc<(dyn Iden + 'static)>
|
= note: expected signature
fn() -> Vec<sea_query::types::SeaRc<(dyn sea_query::types::Iden + 'static)>>
found signature
fn() -> Vec<SeaRc<(dyn Iden + 'static)>>
= note: this error originates in the derive macro
modql::field::Fields
(in Nightly builds, run with -Z macro-backtrace for more info)error[E0053]: method
sea_column_refs
has an incompatible type for trait--> src/db/test.rs:5:24
|
5 | #[derive(Debug, Clone, modql::field::Fields, FromRow, Serialize)]
| ^^^^^^^^^^^^^^^^^^^^ expected
sea_query::types::ColumnRef
, foundColumnRef
|
= note: expected signature
fn() -> Vec<sea_query::types::ColumnRef>
found signature
fn() -> Vec<ColumnRef>
= note: this error originates in the derive macro
modql::field::Fields
(in Nightly builds, run with -Z macro-backtrace for more info)error[E0053]: method
sea_column_refs_with_rel
has an incompatible type for trait--> src/db/test.rs:5:24
|
5 | #[derive(Debug, Clone, modql::field::Fields, FromRow, Serialize)]
| ^^^^^^^^^^^^^^^^^^^^ expected
sea_query::types::ColumnRef
, foundColumnRef
|
= note: expected signature
fn(_) -> Vec<sea_query::types::ColumnRef>
found signature
fn(_) -> Vec<ColumnRef>
= note: this error originates in the derive macro
modql::field::Fields
(in Nightly builds, run with -Z macro-backtrace for more info)error[E0277]: the trait bound
SIden: IntoIden
is not satisfied--> src/db/test.rs:5:24
|
5 | #[derive(Debug, Clone, modql::field::Fields, FromRow, Serialize)]
| ^^^^^^^^^^^^^^^^^^^^ the trait
Iden
is not implemented forSIden
, which is required bySIden: IntoIden
|
= help: the following other types implement trait
Iden
:Alias
MySqlType
NullAlias
PgLTree
= note: required for
SIden
to implementIntoIden
= note: this error originates in the derive macro
modql::field::Fields
(in Nightly builds, run with -Z macro-backtrace for more info)error[E0599]: the method
into_iden
exists for structSIden
, but its trait bounds were not satisfied--> src/db/test.rs:5:24
|
5 | #[derive(Debug, Clone, modql::field::Fields, FromRow, Serialize)]
| ^^^^^^^^^^^^^^^^^^^^
|
::: /home/vincent/.cargo/registry/src/index.crates.io-6f17d22bba15001f/modql-0.4.0/src/sea_utils.rs:19:1
|
19 | pub struct SIden(pub &'static str);
| ---------------- doesn't satisfy
SIden: Iden
orSIden: IntoIden
|
= note: the following trait bounds were not satisfied:
SIden: Iden
which is required by
SIden: IntoIden
&SIden: Iden
which is required by
&SIden: IntoIden
&mut SIden: Iden
which is required by
&mut SIden: IntoIden
= help: items from traits can only be used if the trait is in scope
= note: this error originates in the derive macro
modql::field::Fields
(in Nightly builds, run with -Z macro-backtrace for more info)help: trait
IntoIden
which providesinto_iden
is implemented but not in scope; perhaps you want to import it|
1 + use sea_query::types::IntoIden;
|
The text was updated successfully, but these errors were encountered: