From 128de1efcba32ee288880e2a9d4d926b7cdd788d Mon Sep 17 00:00:00 2001 From: usamoi Date: Fri, 31 Jan 2025 14:06:00 +0800 Subject: [PATCH] fix ui errors --- pgrx-tests/tests/todo/busted-exotic-signature.stderr | 2 +- .../tests/todo/composite-types-broken-on-spi.stderr | 8 ++++---- pgrx-tests/tests/todo/for-dog-in-dogs.stderr | 12 ++++++------ ...vec-option-composite_type-nesting-problems.stderr | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pgrx-tests/tests/todo/busted-exotic-signature.stderr b/pgrx-tests/tests/todo/busted-exotic-signature.stderr index 9ae0dacdd3..2853b707a7 100644 --- a/pgrx-tests/tests/todo/busted-exotic-signature.stderr +++ b/pgrx-tests/tests/todo/busted-exotic-signature.stderr @@ -5,7 +5,7 @@ error[E0277]: the trait bound `Vec>>: Ar | ------------ in this procedural macro expansion 11 | fn exotic_signature( 12 | _cats: pgrx::default!( - | ^^^^^ the trait `ArgAbi<'_>` is not implemented for `Vec>>`, which is required by `Option>>>: ArgAbi<'_>` + | ^^^^^ the trait `ArgAbi<'_>` is not implemented for `Vec>>` | = help: the following other types implement trait `ArgAbi<'fcx>`: Vec> diff --git a/pgrx-tests/tests/todo/composite-types-broken-on-spi.stderr b/pgrx-tests/tests/todo/composite-types-broken-on-spi.stderr index d344d5f17b..47653dcec6 100644 --- a/pgrx-tests/tests/todo/composite-types-broken-on-spi.stderr +++ b/pgrx-tests/tests/todo/composite-types-broken-on-spi.stderr @@ -45,7 +45,7 @@ error[E0277]: the trait bound `Vec>>, - | ^^^^ the trait `ArgAbi<'_>` is not implemented for `Vec>>`, which is required by `Option>>>: ArgAbi<'_>` + | ^^^^ the trait `ArgAbi<'_>` is not implemented for `Vec>>` | = help: the following other types implement trait `ArgAbi<'fcx>`: Vec> @@ -66,7 +66,7 @@ error[E0277]: `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` | ^^^^ `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` is not an iterator | = help: the trait `IntoIterator` is not implemented for `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` - = help: the trait `IntoIterator` is implemented for `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` + but trait `IntoIterator` is implemented for it error[E0277]: `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` is not an iterator --> tests/todo/composite-types-broken-on-spi.rs:145:20 @@ -75,7 +75,7 @@ error[E0277]: `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` | ^^^^ `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` is not an iterator | = help: the trait `IntoIterator` is not implemented for `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` - = help: the trait `IntoIterator` is implemented for `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` + but trait `IntoIterator` is implemented for it error[E0277]: `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` is not an iterator --> tests/todo/composite-types-broken-on-spi.rs:162:20 @@ -84,7 +84,7 @@ error[E0277]: `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` | ^^^^ `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` is not an iterator | = help: the trait `IntoIterator` is not implemented for `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` - = help: the trait `IntoIterator` is implemented for `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` + but trait `IntoIterator` is implemented for it error[E0308]: mismatched types --> tests/todo/composite-types-broken-on-spi.rs:11:5 diff --git a/pgrx-tests/tests/todo/for-dog-in-dogs.stderr b/pgrx-tests/tests/todo/for-dog-in-dogs.stderr index 3d825ce7aa..78c5ff77a5 100644 --- a/pgrx-tests/tests/todo/for-dog-in-dogs.stderr +++ b/pgrx-tests/tests/todo/for-dog-in-dogs.stderr @@ -5,7 +5,7 @@ error[E0277]: `pgrx::VariadicArray<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::Allo | ^^^^ `pgrx::VariadicArray<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` is not an iterator | = help: the trait `IntoIterator` is not implemented for `pgrx::VariadicArray<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` - = help: the trait `IntoIterator` is implemented for `pgrx::VariadicArray<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` + but trait `IntoIterator` is implemented for it error[E0277]: `pgrx::VariadicArray<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` is not an iterator --> tests/todo/for-dog-in-dogs.rs:32:16 @@ -14,7 +14,7 @@ error[E0277]: `pgrx::VariadicArray<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::Allo | ^^^^ `pgrx::VariadicArray<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` is not an iterator | = help: the trait `IntoIterator` is not implemented for `pgrx::VariadicArray<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` - = help: the trait `IntoIterator` is implemented for `pgrx::VariadicArray<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` + but trait `IntoIterator` is implemented for it error[E0277]: `pgrx::VariadicArray<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` is not an iterator --> tests/todo/for-dog-in-dogs.rs:48:16 @@ -23,7 +23,7 @@ error[E0277]: `pgrx::VariadicArray<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::Allo | ^^^^ `pgrx::VariadicArray<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` is not an iterator | = help: the trait `IntoIterator` is not implemented for `pgrx::VariadicArray<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` - = help: the trait `IntoIterator` is implemented for `pgrx::VariadicArray<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` + but trait `IntoIterator` is implemented for it error[E0277]: `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` is not an iterator --> tests/todo/for-dog-in-dogs.rs:65:16 @@ -32,7 +32,7 @@ error[E0277]: `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` | ^^^^ `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` is not an iterator | = help: the trait `IntoIterator` is not implemented for `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` - = help: the trait `IntoIterator` is implemented for `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` + but trait `IntoIterator` is implemented for it error[E0277]: `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` is not an iterator --> tests/todo/for-dog-in-dogs.rs:85:16 @@ -41,7 +41,7 @@ error[E0277]: `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` | ^^^^ `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` is not an iterator | = help: the trait `IntoIterator` is not implemented for `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` - = help: the trait `IntoIterator` is implemented for `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` + but trait `IntoIterator` is implemented for it error[E0277]: `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` is not an iterator --> tests/todo/for-dog-in-dogs.rs:102:16 @@ -50,4 +50,4 @@ error[E0277]: `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` | ^^^^ `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` is not an iterator | = help: the trait `IntoIterator` is not implemented for `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` - = help: the trait `IntoIterator` is implemented for `Array<'_, pgrx::prelude::PgHeapTuple<'_, pgrx::AllocatedByRust>>` + but trait `IntoIterator` is implemented for it diff --git a/pgrx-tests/tests/todo/vec-option-composite_type-nesting-problems.stderr b/pgrx-tests/tests/todo/vec-option-composite_type-nesting-problems.stderr index db0d11388b..13e5ad01ff 100644 --- a/pgrx-tests/tests/todo/vec-option-composite_type-nesting-problems.stderr +++ b/pgrx-tests/tests/todo/vec-option-composite_type-nesting-problems.stderr @@ -45,7 +45,7 @@ error[E0277]: the trait bound `Vec>>, - | ^^^^ the trait `ArgAbi<'_>` is not implemented for `Vec>>`, which is required by `Option>>>: ArgAbi<'_>` + | ^^^^ the trait `ArgAbi<'_>` is not implemented for `Vec>>` | = help: the following other types implement trait `ArgAbi<'fcx>`: Vec>