From 6d65dffd28faa433f892dcd6624f2e4ad29ce385 Mon Sep 17 00:00:00 2001 From: tyranron Date: Fri, 22 Mar 2024 17:59:31 +0200 Subject: [PATCH] Fix codegen failure tests for 1.77.0 Rust --- .../fail/interface/trait/argument_wrong_default_array.stderr | 2 +- tests/codegen/fail/object/argument_wrong_default_array.stderr | 2 +- .../fail/subscription/argument_wrong_default_array.stderr | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/codegen/fail/interface/trait/argument_wrong_default_array.stderr b/tests/codegen/fail/interface/trait/argument_wrong_default_array.stderr index 7fac47df..559cf3ca 100644 --- a/tests/codegen/fail/interface/trait/argument_wrong_default_array.stderr +++ b/tests/codegen/fail/interface/trait/argument_wrong_default_array.stderr @@ -2,7 +2,7 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied --> fail/interface/trait/argument_wrong_default_array.rs:3:1 | 3 | #[graphql_interface] - | ^^^^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]` + | ^^^^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`, which is required by `[bool; 3]: Into<_>` | = help: the following other types implement trait `From`: <[bool; N] as From>> diff --git a/tests/codegen/fail/object/argument_wrong_default_array.stderr b/tests/codegen/fail/object/argument_wrong_default_array.stderr index 4c02f956..ba29bbbd 100644 --- a/tests/codegen/fail/object/argument_wrong_default_array.stderr +++ b/tests/codegen/fail/object/argument_wrong_default_array.stderr @@ -2,7 +2,7 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied --> fail/object/argument_wrong_default_array.rs:5:1 | 5 | #[graphql_object] - | ^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]` + | ^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`, which is required by `[bool; 3]: Into<_>` | = help: the following other types implement trait `From`: <[bool; N] as From>> diff --git a/tests/codegen/fail/subscription/argument_wrong_default_array.stderr b/tests/codegen/fail/subscription/argument_wrong_default_array.stderr index c6f1b5ee..463bf763 100644 --- a/tests/codegen/fail/subscription/argument_wrong_default_array.stderr +++ b/tests/codegen/fail/subscription/argument_wrong_default_array.stderr @@ -2,7 +2,7 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied --> fail/subscription/argument_wrong_default_array.rs:10:1 | 10 | #[graphql_subscription] - | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]` + | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`, which is required by `[bool; 3]: Into<_>` | = help: the following other types implement trait `From`: <[bool; N] as From>>