Skip to content

Commit 02dec09

Browse files
committed
Update codegen tests for 1.90 Rust
1 parent 90ecd03 commit 02dec09

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tests/codegen/fail/input-object/derive_incompatible_field_type.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ error[E0277]: the trait bound `ObjectA: IsInputType<__S>` is not satisfied
1818
error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
1919
--> fail/input-object/derive_incompatible_field_type.rs:10:12
2020
|
21-
8 | #[derive(GraphQLInputObject)]
21+
8 | #[derive(GraphQLInputObject)]
2222
| ------------------ required by a bound introduced by this call
23-
9 | struct Object {
23+
9 | struct Object {
2424
10 | field: ObjectA,
2525
| ^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjectA`
2626
|

tests/codegen/fail/interface/struct/derive_cyclic_impl.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
error[E0391]: cycle detected when expanding type alias `Node1Value`
22
--> fail/interface/struct/derive_cyclic_impl.rs:4:36
33
|
4-
4 | #[graphql(impl = Node2Value, for = Node2Value)]
4+
4 | #[graphql(impl = Node2Value, for = Node2Value)]
55
| ^^^^^^^^^^
66
|
77
note: ...which requires expanding type alias `Node2Value`...
@@ -16,7 +16,7 @@ note: ...which requires expanding type alias `Node2Value`...
1616
note: cycle used when computing type of `<impl at $DIR/fail/interface/struct/derive_cyclic_impl.rs:3:10: 3:26>`
1717
--> fail/interface/struct/derive_cyclic_impl.rs:3:10
1818
|
19-
3 | #[derive(GraphQLInterface)]
19+
3 | #[derive(GraphQLInterface)]
2020
| ^^^^^^^^^^^^^^^^
2121
= note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
2222
= note: this error originates in the derive macro `GraphQLInterface` (in Nightly builds, run with -Z macro-backtrace for more info)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
1818
error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
1919
--> fail/interface/trait/argument_non_input_type.rs:10:23
2020
|
21-
8 | #[graphql_interface]
21+
8 | #[graphql_interface]
2222
| -------------------- required by a bound introduced by this call
23-
9 | trait Character {
23+
9 | trait Character {
2424
10 | fn id(&self, obj: ObjA) -> &str;
2525
| ^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjA`
2626
|

0 commit comments

Comments
 (0)