Skip to content

Commit c372606

Browse files
committed
Fix
1 parent ddb61fd commit c372606

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ error[E0277]: the trait bound `ObjectA: IsInputType<__S>` is not satisfied
1414
`TypeKind` implements `IsInputType<__S>`
1515
`Vec<T>` implements `IsInputType<S>`
1616
and $N others
17-
1817
error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
1918
--> fail/input-object/derive_incompatible_field_type.rs:10:12
2019
|
@@ -42,7 +41,6 @@ note: required by a bound in `Registry::<S>::arg`
4241
| where
4342
| T: GraphQLType<S> + FromInputValue<S>,
4443
| ^^^^^^^^^^^^^^^^^ required by this bound in `Registry::<S>::arg`
45-
4644
error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
4745
--> fail/input-object/derive_incompatible_field_type.rs:8:10
4846
|
@@ -60,7 +58,6 @@ error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
6058
`[T; N]` implements `FromInputValue<S>`
6159
and $N others
6260
= note: this error originates in the derive macro `GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)
63-
6461
error[E0277]: the trait bound `ObjectA: ToInputValue<_>` is not satisfied
6562
--> fail/input-object/derive_incompatible_field_type.rs:8:10
6663
|
@@ -69,12 +66,12 @@ error[E0277]: the trait bound `ObjectA: ToInputValue<_>` is not satisfied
6966
|
7067
= help: the following other types implement trait `ToInputValue<S>`:
7168
`&T` implements `ToInputValue<S>`
72-
`&[T]` implements `ToInputValue<S>`
73-
`&str` implements `ToInputValue<S>`
7469
`Arc<T>` implements `ToInputValue<S>`
7570
`ArcStr` implements `ToInputValue<__S>`
7671
`Box<T>` implements `ToInputValue<S>`
7772
`ID` implements `ToInputValue<__S>`
7873
`Object` implements `ToInputValue<__S>`
74+
`TypeKind` implements `ToInputValue<__S>`
75+
`Value<S>` implements `ToInputValue<S>`
7976
and $N others
8077
= note: this error originates in the derive macro `GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)