Skip to content

Commit

Permalink
update trybuild snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
rkusa committed Aug 2, 2024
1 parent 2f8a86d commit b9e8579
Show file tree
Hide file tree
Showing 10 changed files with 62 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ error[E0277]: the trait bound `Role: sqlm_postgres::query::Query<sqlm_postgres::
| 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
`()` implements `sqlm_postgres::query::Query<()>`
`Option<T>` implements `sqlm_postgres::query::Query<Primitive<<T as SqlType>::Type>>`
`Option<T>` implements `sqlm_postgres::query::Query<Struct<Cols>>`
`Option<Vec<u8>>` implements `sqlm_postgres::query::Query<Primitive<Bytea>>`
`Vec<T>` implements `sqlm_postgres::query::Query<Primitive<<T as SqlType>::Type>>`
`Vec<T>` implements `sqlm_postgres::query::Query<Struct<Cols>>`
`Vec<T>` implements `sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<<T as SqlType>::Type>>>`
`Vec<Vec<u8>>` implements `sqlm_postgres::query::Query<Primitive<Bytea>>`
`Vec<Vec<u8>>` implements `sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<Bytea>>>`
`Vec<u8>` implements `sqlm_postgres::query::Query<Primitive<Bytea>>`
= note: required for `Sql<'_, sqlm_postgres::types::Array<Vec<sqlm_postgres::types::Enum<(EnumVariant<"admin">, EnumVariant<"user">)>>>, Role>` to implement `IntoFuture`
12 changes: 6 additions & 6 deletions postgres-macros/tests/fail-nightly/enum_extra_variant.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ error[E0277]: the trait bound `Vec<User>: sqlm_postgres::query::Query<Struct<(St
| help: remove the `.await`
|
= help: the following other types implement trait `sqlm_postgres::query::Query<Cols>`:
<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>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<Bytea>>>>
<Vec<u8> as sqlm_postgres::query::Query<Primitive<Bytea>>>
`Vec<T>` implements `sqlm_postgres::query::Query<Primitive<<T as SqlType>::Type>>`
`Vec<T>` implements `sqlm_postgres::query::Query<Struct<Cols>>`
`Vec<T>` implements `sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<<T as SqlType>::Type>>>`
`Vec<Vec<u8>>` implements `sqlm_postgres::query::Query<Primitive<Bytea>>`
`Vec<Vec<u8>>` implements `sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<Bytea>>>`
`Vec<u8>` implements `sqlm_postgres::query::Query<Primitive<Bytea>>`
= note: required for `Sql<'_, Struct<(StructColumn<i64, "id">, StructColumn<sqlm_postgres::types::Enum<(EnumVariant<"admin">, EnumVariant<"user">)>, "role">)>, Vec<User>>` to implement `IntoFuture`
12 changes: 6 additions & 6 deletions postgres-macros/tests/fail-nightly/enum_missing_variant.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ error[E0277]: the trait bound `Vec<User>: sqlm_postgres::query::Query<Struct<(St
| help: remove the `.await`
|
= help: the following other types implement trait `sqlm_postgres::query::Query<Cols>`:
<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>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<Bytea>>>>
<Vec<u8> as sqlm_postgres::query::Query<Primitive<Bytea>>>
`Vec<T>` implements `sqlm_postgres::query::Query<Primitive<<T as SqlType>::Type>>`
`Vec<T>` implements `sqlm_postgres::query::Query<Struct<Cols>>`
`Vec<T>` implements `sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<<T as SqlType>::Type>>>`
`Vec<Vec<u8>>` implements `sqlm_postgres::query::Query<Primitive<Bytea>>`
`Vec<Vec<u8>>` implements `sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<Bytea>>>`
`Vec<u8>` implements `sqlm_postgres::query::Query<Primitive<Bytea>>`
= note: required for `Sql<'_, Struct<(StructColumn<i64, "id">, StructColumn<sqlm_postgres::types::Enum<(EnumVariant<"admin">, EnumVariant<"user">)>, "role">)>, Vec<User>>` to implement `IntoFuture`
12 changes: 6 additions & 6 deletions postgres-macros/tests/fail-nightly/enum_variant_mismatch.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ error[E0277]: the trait bound `Vec<User>: sqlm_postgres::query::Query<Struct<(St
| help: remove the `.await`
|
= help: the following other types implement trait `sqlm_postgres::query::Query<Cols>`:
<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>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<Bytea>>>>
<Vec<u8> as sqlm_postgres::query::Query<Primitive<Bytea>>>
`Vec<T>` implements `sqlm_postgres::query::Query<Primitive<<T as SqlType>::Type>>`
`Vec<T>` implements `sqlm_postgres::query::Query<Struct<Cols>>`
`Vec<T>` implements `sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<<T as SqlType>::Type>>>`
`Vec<Vec<u8>>` implements `sqlm_postgres::query::Query<Primitive<Bytea>>`
`Vec<Vec<u8>>` implements `sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<Bytea>>>`
`Vec<u8>` implements `sqlm_postgres::query::Query<Primitive<Bytea>>`
= note: required for `Sql<'_, Struct<(StructColumn<i64, "id">, StructColumn<sqlm_postgres::types::Enum<(EnumVariant<"admin">, EnumVariant<"user">)>, "role">)>, Vec<User>>` to implement `IntoFuture`
19 changes: 10 additions & 9 deletions postgres-macros/tests/fail-nightly/literal_array_to_literal.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ error[E0277]: the trait bound `String: sqlm_postgres::query::Query<sqlm_postgres
| 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
`()` implements `sqlm_postgres::query::Query<()>`
`Option<T>` implements `sqlm_postgres::query::Query<Primitive<<T as SqlType>::Type>>`
`Option<T>` implements `sqlm_postgres::query::Query<Struct<Cols>>`
`Option<Vec<u8>>` implements `sqlm_postgres::query::Query<Primitive<Bytea>>`
`Vec<T>` implements `sqlm_postgres::query::Query<Primitive<<T as SqlType>::Type>>`
`Vec<T>` implements `sqlm_postgres::query::Query<Struct<Cols>>`
`Vec<T>` implements `sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<<T as SqlType>::Type>>>`
`Vec<Vec<u8>>` implements `sqlm_postgres::query::Query<Primitive<Bytea>>`
`Vec<Vec<u8>>` implements `sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<Bytea>>>`
`Vec<u8>` implements `sqlm_postgres::query::Query<Primitive<Bytea>>`
= note: required for `Sql<'_, sqlm_postgres::types::Array<Vec<String>>, String>` to implement `IntoFuture`
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ error[E0277]: the trait bound `Role: sqlm_postgres::query::Query<sqlm_postgres::
| help: remove the `.await`
|
= help: the following other types implement trait `sqlm_postgres::query::Query<Cols>`:
<Vec<u8> as sqlm_postgres::query::Query<Primitive<Bytea>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<Primitive<Bytea>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<Bytea>>>>
<Vec<T> as sqlm_postgres::query::Query<Struct<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>>>>
<Option<Vec<u8>> as sqlm_postgres::query::Query<Primitive<Bytea>>>
<Option<T> as sqlm_postgres::query::Query<Struct<Cols>>>
<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<5755620910692865178>, EnumVariant<10465144470622129318>)>>>, Role>` to implement `IntoFuture`
8 changes: 4 additions & 4 deletions postgres-macros/tests/fail-stable/enum_extra_variant.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ error[E0277]: the trait bound `Vec<User>: sqlm_postgres::query::Query<Struct<(St
| help: remove the `.await`
|
= help: the following other types implement trait `sqlm_postgres::query::Query<Cols>`:
<Vec<u8> as sqlm_postgres::query::Query<Primitive<Bytea>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<Primitive<Bytea>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<Bytea>>>>
<Vec<T> as sqlm_postgres::query::Query<Struct<Cols>>>
<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>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<Bytea>>>>
<Vec<u8> as sqlm_postgres::query::Query<Primitive<Bytea>>>
= note: required for `Sql<'_, Struct<(StructColumn<i64, 6898215271518772730>, StructColumn<sqlm_postgres::types::Enum<(EnumVariant<5755620910692865178>, EnumVariant<10465144470622129318>)>, 18137070463969723500>)>, Vec<User>>` to implement `IntoFuture`
8 changes: 4 additions & 4 deletions postgres-macros/tests/fail-stable/enum_missing_variant.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ error[E0277]: the trait bound `Vec<User>: sqlm_postgres::query::Query<Struct<(St
| help: remove the `.await`
|
= help: the following other types implement trait `sqlm_postgres::query::Query<Cols>`:
<Vec<u8> as sqlm_postgres::query::Query<Primitive<Bytea>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<Primitive<Bytea>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<Bytea>>>>
<Vec<T> as sqlm_postgres::query::Query<Struct<Cols>>>
<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>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<Bytea>>>>
<Vec<u8> as sqlm_postgres::query::Query<Primitive<Bytea>>>
= note: required for `Sql<'_, Struct<(StructColumn<i64, 6898215271518772730>, StructColumn<sqlm_postgres::types::Enum<(EnumVariant<5755620910692865178>, EnumVariant<10465144470622129318>)>, 18137070463969723500>)>, Vec<User>>` to implement `IntoFuture`
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ error[E0277]: the trait bound `Vec<User>: sqlm_postgres::query::Query<Struct<(St
| help: remove the `.await`
|
= help: the following other types implement trait `sqlm_postgres::query::Query<Cols>`:
<Vec<u8> as sqlm_postgres::query::Query<Primitive<Bytea>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<Primitive<Bytea>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<Bytea>>>>
<Vec<T> as sqlm_postgres::query::Query<Struct<Cols>>>
<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>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<Bytea>>>>
<Vec<u8> as sqlm_postgres::query::Query<Primitive<Bytea>>>
= note: required for `Sql<'_, Struct<(StructColumn<i64, 6898215271518772730>, StructColumn<sqlm_postgres::types::Enum<(EnumVariant<5755620910692865178>, EnumVariant<10465144470622129318>)>, 18137070463969723500>)>, Vec<User>>` to implement `IntoFuture`
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ error[E0277]: the trait bound `String: sqlm_postgres::query::Query<sqlm_postgres
| help: remove the `.await`
|
= help: the following other types implement trait `sqlm_postgres::query::Query<Cols>`:
<Vec<u8> as sqlm_postgres::query::Query<Primitive<Bytea>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<Primitive<Bytea>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<sqlm_postgres::types::Array<Vec<Bytea>>>>
<Vec<T> as sqlm_postgres::query::Query<Struct<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>>>>
<Option<Vec<u8>> as sqlm_postgres::query::Query<Primitive<Bytea>>>
<Option<T> as sqlm_postgres::query::Query<Struct<Cols>>>
<Vec<Vec<u8>> as sqlm_postgres::query::Query<Primitive<Bytea>>>
and $N others
= note: required for `Sql<'_, sqlm_postgres::types::Array<Vec<String>>, String>` to implement `IntoFuture`

0 comments on commit b9e8579

Please sign in to comment.