Skip to content

Commit 6d65dff

Browse files
committed
Fix codegen failure tests for 1.77.0 Rust
1 parent aea0ef2 commit 6d65dff

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/codegen/fail/interface/trait/argument_wrong_default_array.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
22
--> fail/interface/trait/argument_wrong_default_array.rs:3:1
33
|
44
3 | #[graphql_interface]
5-
| ^^^^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`
5+
| ^^^^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`, which is required by `[bool; 3]: Into<_>`
66
|
77
= help: the following other types implement trait `From<T>`:
88
<[bool; N] as From<Mask<T, N>>>

tests/codegen/fail/object/argument_wrong_default_array.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
22
--> fail/object/argument_wrong_default_array.rs:5:1
33
|
44
5 | #[graphql_object]
5-
| ^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`
5+
| ^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`, which is required by `[bool; 3]: Into<_>`
66
|
77
= help: the following other types implement trait `From<T>`:
88
<[bool; N] as From<Mask<T, N>>>

tests/codegen/fail/subscription/argument_wrong_default_array.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
22
--> fail/subscription/argument_wrong_default_array.rs:10:1
33
|
44
10 | #[graphql_subscription]
5-
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`
5+
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`, which is required by `[bool; 3]: Into<_>`
66
|
77
= help: the following other types implement trait `From<T>`:
88
<[bool; N] as From<Mask<T, N>>>

0 commit comments

Comments
 (0)