error[E0277]: the trait bound `Role: sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<sqlm_postgres::types::Enum<(EnumVariant<"admin">, EnumVariant<"user">)>>>>` is not satisfied
--> tests/fail-nightly/enum_array_to_enum_literal.rs:17:10
|
17 | .await
| -^^^^^
| ||
| |the trait `sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<sqlm_postgres::types::Enum<(EnumVariant<"admin">, EnumVariant<"user">)>>>>` is not implemented for `Role`, which is required by `Sql<'_, sqlm_postgres::types::Array<Vec<sqlm_postgres::types::Enum<(EnumVariant<"admin">, EnumVariant<"user">)>>>, _>: IntoFuture`
| help: remove the `.await`
|
= help: the following other types implement trait `sqlm_postgres::query::Query<Cols>`:
<() as sqlm_postgres::query::Query<()>>
<Option<T> as sqlm_postgres::query::Query<Primitive<<T as SqlType>::Type>>>
<Option<T> as sqlm_postgres::query::Query<Struct<Cols>>>
<Option<Vec<u8>> as sqlm_postgres::query::Query<Primitive<Bytea>>>
<Vec<T> as sqlm_postgres::query::Query<Primitive<<T as SqlType>::Type>>>
<Vec<T> as sqlm_postgres::query::Query<Struct<Cols>>>
<Vec<T> as sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<<T as SqlType>::Type>>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<Primitive<Bytea>>>
and $N others
= note: required for `Sql<'_, sqlm_postgres::types::Array<Vec<sqlm_postgres::types::Enum<(EnumVariant<"admin">, EnumVariant<"user">)>>>, Role>` to implement `IntoFuture`