From b9e85795582a6758fe3c7a2765127745e97cab64 Mon Sep 17 00:00:00 2001 From: Markus Ast Date: Fri, 2 Aug 2024 12:59:04 +0200 Subject: [PATCH] update trybuild snapshots --- .../enum_array_to_enum_literal.stderr | 19 ++++++++++--------- .../fail-nightly/enum_extra_variant.stderr | 12 ++++++------ .../fail-nightly/enum_missing_variant.stderr | 12 ++++++------ .../fail-nightly/enum_variant_mismatch.stderr | 12 ++++++------ .../literal_array_to_literal.stderr | 19 ++++++++++--------- .../enum_array_to_enum_literal.stderr | 12 ++++++------ .../fail-stable/enum_extra_variant.stderr | 8 ++++---- .../fail-stable/enum_missing_variant.stderr | 8 ++++---- .../fail-stable/enum_variant_mismatch.stderr | 8 ++++---- .../literal_array_to_literal.stderr | 12 ++++++------ 10 files changed, 62 insertions(+), 60 deletions(-) diff --git a/postgres-macros/tests/fail-nightly/enum_array_to_enum_literal.stderr b/postgres-macros/tests/fail-nightly/enum_array_to_enum_literal.stderr index f05e547..7d5376e 100644 --- a/postgres-macros/tests/fail-nightly/enum_array_to_enum_literal.stderr +++ b/postgres-macros/tests/fail-nightly/enum_array_to_enum_literal.stderr @@ -8,13 +8,14 @@ error[E0277]: the trait bound `Role: sqlm_postgres::query::Query`: - <() as sqlm_postgres::query::Query<()>> - as sqlm_postgres::query::Query::Type>>> - as sqlm_postgres::query::Query>> - > as sqlm_postgres::query::Query>> - as sqlm_postgres::query::Query::Type>>> - as sqlm_postgres::query::Query>> - as sqlm_postgres::query::Query::Type>>>> - > as sqlm_postgres::query::Query>> - and $N others + `()` implements `sqlm_postgres::query::Query<()>` + `Option` implements `sqlm_postgres::query::Query::Type>>` + `Option` implements `sqlm_postgres::query::Query>` + `Option>` implements `sqlm_postgres::query::Query>` + `Vec` implements `sqlm_postgres::query::Query::Type>>` + `Vec` implements `sqlm_postgres::query::Query>` + `Vec` implements `sqlm_postgres::query::Query::Type>>>` + `Vec>` implements `sqlm_postgres::query::Query>` + `Vec>` implements `sqlm_postgres::query::Query>>` + `Vec` implements `sqlm_postgres::query::Query>` = note: required for `Sql<'_, sqlm_postgres::types::Array, EnumVariant<"user">)>>>, Role>` to implement `IntoFuture` diff --git a/postgres-macros/tests/fail-nightly/enum_extra_variant.stderr b/postgres-macros/tests/fail-nightly/enum_extra_variant.stderr index fba906c..276d1cb 100644 --- a/postgres-macros/tests/fail-nightly/enum_extra_variant.stderr +++ b/postgres-macros/tests/fail-nightly/enum_extra_variant.stderr @@ -8,10 +8,10 @@ error[E0277]: the trait bound `Vec: sqlm_postgres::query::Query`: - as sqlm_postgres::query::Query::Type>>> - as sqlm_postgres::query::Query>> - as sqlm_postgres::query::Query::Type>>>> - > as sqlm_postgres::query::Query>> - > as sqlm_postgres::query::Query>>> - as sqlm_postgres::query::Query>> + `Vec` implements `sqlm_postgres::query::Query::Type>>` + `Vec` implements `sqlm_postgres::query::Query>` + `Vec` implements `sqlm_postgres::query::Query::Type>>>` + `Vec>` implements `sqlm_postgres::query::Query>` + `Vec>` implements `sqlm_postgres::query::Query>>` + `Vec` implements `sqlm_postgres::query::Query>` = note: required for `Sql<'_, Struct<(StructColumn, StructColumn, EnumVariant<"user">)>, "role">)>, Vec>` to implement `IntoFuture` diff --git a/postgres-macros/tests/fail-nightly/enum_missing_variant.stderr b/postgres-macros/tests/fail-nightly/enum_missing_variant.stderr index a743f67..2299fd8 100644 --- a/postgres-macros/tests/fail-nightly/enum_missing_variant.stderr +++ b/postgres-macros/tests/fail-nightly/enum_missing_variant.stderr @@ -8,10 +8,10 @@ error[E0277]: the trait bound `Vec: sqlm_postgres::query::Query`: - as sqlm_postgres::query::Query::Type>>> - as sqlm_postgres::query::Query>> - as sqlm_postgres::query::Query::Type>>>> - > as sqlm_postgres::query::Query>> - > as sqlm_postgres::query::Query>>> - as sqlm_postgres::query::Query>> + `Vec` implements `sqlm_postgres::query::Query::Type>>` + `Vec` implements `sqlm_postgres::query::Query>` + `Vec` implements `sqlm_postgres::query::Query::Type>>>` + `Vec>` implements `sqlm_postgres::query::Query>` + `Vec>` implements `sqlm_postgres::query::Query>>` + `Vec` implements `sqlm_postgres::query::Query>` = note: required for `Sql<'_, Struct<(StructColumn, StructColumn, EnumVariant<"user">)>, "role">)>, Vec>` to implement `IntoFuture` diff --git a/postgres-macros/tests/fail-nightly/enum_variant_mismatch.stderr b/postgres-macros/tests/fail-nightly/enum_variant_mismatch.stderr index e0fa1ff..3e69443 100644 --- a/postgres-macros/tests/fail-nightly/enum_variant_mismatch.stderr +++ b/postgres-macros/tests/fail-nightly/enum_variant_mismatch.stderr @@ -8,10 +8,10 @@ error[E0277]: the trait bound `Vec: sqlm_postgres::query::Query`: - as sqlm_postgres::query::Query::Type>>> - as sqlm_postgres::query::Query>> - as sqlm_postgres::query::Query::Type>>>> - > as sqlm_postgres::query::Query>> - > as sqlm_postgres::query::Query>>> - as sqlm_postgres::query::Query>> + `Vec` implements `sqlm_postgres::query::Query::Type>>` + `Vec` implements `sqlm_postgres::query::Query>` + `Vec` implements `sqlm_postgres::query::Query::Type>>>` + `Vec>` implements `sqlm_postgres::query::Query>` + `Vec>` implements `sqlm_postgres::query::Query>>` + `Vec` implements `sqlm_postgres::query::Query>` = note: required for `Sql<'_, Struct<(StructColumn, StructColumn, EnumVariant<"user">)>, "role">)>, Vec>` to implement `IntoFuture` diff --git a/postgres-macros/tests/fail-nightly/literal_array_to_literal.stderr b/postgres-macros/tests/fail-nightly/literal_array_to_literal.stderr index 67ae8bc..f536a27 100644 --- a/postgres-macros/tests/fail-nightly/literal_array_to_literal.stderr +++ b/postgres-macros/tests/fail-nightly/literal_array_to_literal.stderr @@ -8,13 +8,14 @@ error[E0277]: the trait bound `String: sqlm_postgres::query::Query`: - <() as sqlm_postgres::query::Query<()>> - as sqlm_postgres::query::Query::Type>>> - as sqlm_postgres::query::Query>> - > as sqlm_postgres::query::Query>> - as sqlm_postgres::query::Query::Type>>> - as sqlm_postgres::query::Query>> - as sqlm_postgres::query::Query::Type>>>> - > as sqlm_postgres::query::Query>> - and $N others + `()` implements `sqlm_postgres::query::Query<()>` + `Option` implements `sqlm_postgres::query::Query::Type>>` + `Option` implements `sqlm_postgres::query::Query>` + `Option>` implements `sqlm_postgres::query::Query>` + `Vec` implements `sqlm_postgres::query::Query::Type>>` + `Vec` implements `sqlm_postgres::query::Query>` + `Vec` implements `sqlm_postgres::query::Query::Type>>>` + `Vec>` implements `sqlm_postgres::query::Query>` + `Vec>` implements `sqlm_postgres::query::Query>>` + `Vec` implements `sqlm_postgres::query::Query>` = note: required for `Sql<'_, sqlm_postgres::types::Array>, String>` to implement `IntoFuture` diff --git a/postgres-macros/tests/fail-stable/enum_array_to_enum_literal.stderr b/postgres-macros/tests/fail-stable/enum_array_to_enum_literal.stderr index 0675c44..814811a 100644 --- a/postgres-macros/tests/fail-stable/enum_array_to_enum_literal.stderr +++ b/postgres-macros/tests/fail-stable/enum_array_to_enum_literal.stderr @@ -8,13 +8,13 @@ error[E0277]: the trait bound `Role: sqlm_postgres::query::Query`: - as sqlm_postgres::query::Query>> - > as sqlm_postgres::query::Query>> - > as sqlm_postgres::query::Query>>> - as sqlm_postgres::query::Query>> + <() as sqlm_postgres::query::Query<()>> + as sqlm_postgres::query::Query::Type>>> + as sqlm_postgres::query::Query>> + > as sqlm_postgres::query::Query>> as sqlm_postgres::query::Query::Type>>> + as sqlm_postgres::query::Query>> as sqlm_postgres::query::Query::Type>>>> - > as sqlm_postgres::query::Query>> - as sqlm_postgres::query::Query>> + > as sqlm_postgres::query::Query>> and $N others = note: required for `Sql<'_, sqlm_postgres::types::Array, EnumVariant<10465144470622129318>)>>>, Role>` to implement `IntoFuture` diff --git a/postgres-macros/tests/fail-stable/enum_extra_variant.stderr b/postgres-macros/tests/fail-stable/enum_extra_variant.stderr index a3dcd81..5f28cc6 100644 --- a/postgres-macros/tests/fail-stable/enum_extra_variant.stderr +++ b/postgres-macros/tests/fail-stable/enum_extra_variant.stderr @@ -8,10 +8,10 @@ error[E0277]: the trait bound `Vec: sqlm_postgres::query::Query`: - as sqlm_postgres::query::Query>> - > as sqlm_postgres::query::Query>> - > as sqlm_postgres::query::Query>>> - as sqlm_postgres::query::Query>> as sqlm_postgres::query::Query::Type>>> + as sqlm_postgres::query::Query>> as sqlm_postgres::query::Query::Type>>>> + > as sqlm_postgres::query::Query>> + > as sqlm_postgres::query::Query>>> + as sqlm_postgres::query::Query>> = note: required for `Sql<'_, Struct<(StructColumn, StructColumn, EnumVariant<10465144470622129318>)>, 18137070463969723500>)>, Vec>` to implement `IntoFuture` diff --git a/postgres-macros/tests/fail-stable/enum_missing_variant.stderr b/postgres-macros/tests/fail-stable/enum_missing_variant.stderr index 5e0fc8e..3de88b9 100644 --- a/postgres-macros/tests/fail-stable/enum_missing_variant.stderr +++ b/postgres-macros/tests/fail-stable/enum_missing_variant.stderr @@ -8,10 +8,10 @@ error[E0277]: the trait bound `Vec: sqlm_postgres::query::Query`: - as sqlm_postgres::query::Query>> - > as sqlm_postgres::query::Query>> - > as sqlm_postgres::query::Query>>> - as sqlm_postgres::query::Query>> as sqlm_postgres::query::Query::Type>>> + as sqlm_postgres::query::Query>> as sqlm_postgres::query::Query::Type>>>> + > as sqlm_postgres::query::Query>> + > as sqlm_postgres::query::Query>>> + as sqlm_postgres::query::Query>> = note: required for `Sql<'_, Struct<(StructColumn, StructColumn, EnumVariant<10465144470622129318>)>, 18137070463969723500>)>, Vec>` to implement `IntoFuture` diff --git a/postgres-macros/tests/fail-stable/enum_variant_mismatch.stderr b/postgres-macros/tests/fail-stable/enum_variant_mismatch.stderr index b42bc11..6aad689 100644 --- a/postgres-macros/tests/fail-stable/enum_variant_mismatch.stderr +++ b/postgres-macros/tests/fail-stable/enum_variant_mismatch.stderr @@ -8,10 +8,10 @@ error[E0277]: the trait bound `Vec: sqlm_postgres::query::Query`: - as sqlm_postgres::query::Query>> - > as sqlm_postgres::query::Query>> - > as sqlm_postgres::query::Query>>> - as sqlm_postgres::query::Query>> as sqlm_postgres::query::Query::Type>>> + as sqlm_postgres::query::Query>> as sqlm_postgres::query::Query::Type>>>> + > as sqlm_postgres::query::Query>> + > as sqlm_postgres::query::Query>>> + as sqlm_postgres::query::Query>> = note: required for `Sql<'_, Struct<(StructColumn, StructColumn, EnumVariant<10465144470622129318>)>, 18137070463969723500>)>, Vec>` to implement `IntoFuture` diff --git a/postgres-macros/tests/fail-stable/literal_array_to_literal.stderr b/postgres-macros/tests/fail-stable/literal_array_to_literal.stderr index 4aa33fc..89fd2d1 100644 --- a/postgres-macros/tests/fail-stable/literal_array_to_literal.stderr +++ b/postgres-macros/tests/fail-stable/literal_array_to_literal.stderr @@ -8,13 +8,13 @@ error[E0277]: the trait bound `String: sqlm_postgres::query::Query`: - as sqlm_postgres::query::Query>> - > as sqlm_postgres::query::Query>> - > as sqlm_postgres::query::Query>>> - as sqlm_postgres::query::Query>> + <() as sqlm_postgres::query::Query<()>> + as sqlm_postgres::query::Query::Type>>> + as sqlm_postgres::query::Query>> + > as sqlm_postgres::query::Query>> as sqlm_postgres::query::Query::Type>>> + as sqlm_postgres::query::Query>> as sqlm_postgres::query::Query::Type>>>> - > as sqlm_postgres::query::Query>> - as sqlm_postgres::query::Query>> + > as sqlm_postgres::query::Query>> and $N others = note: required for `Sql<'_, sqlm_postgres::types::Array>, String>` to implement `IntoFuture`