Skip to content

Commit

Permalink
Update codegen tests for 1.81 Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Sep 9, 2024
1 parent fb1531f commit fb96fb1
Show file tree
Hide file tree
Showing 20 changed files with 267 additions and 267 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ error[E0277]: the trait bound `ObjectA: IsInputType<__S>` is not satisfied
| ^^^^^^^ the trait `IsInputType<__S>` is not implemented for `ObjectA`
|
= help: the following other types implement trait `IsInputType<S>`:
<&T as IsInputType<S>>
<Arc<T> as IsInputType<S>>
<Box<T> as IsInputType<S>>
<ID as IsInputType<__S>>
<Object as IsInputType<__S>>
<TypeKind as IsInputType<__S>>
<Vec<T> as IsInputType<S>>
<[T; N] as IsInputType<S>>
`&T` implements `IsInputType<S>`
`Arc<T>` implements `IsInputType<S>`
`Box<T>` implements `IsInputType<S>`
`ID` implements `IsInputType<__S>`
`Object` implements `IsInputType<__S>`
`TypeKind` implements `IsInputType<__S>`
`Vec<T>` implements `IsInputType<S>`
`[T; N]` implements `IsInputType<S>`
and $N others

error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
Expand All @@ -25,14 +25,14 @@ error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
| ^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjectA`
|
= help: the following other types implement trait `FromInputValue<S>`:
<Arc<T> as FromInputValue<S>>
<Box<T> as FromInputValue<S>>
<ID as FromInputValue<__S>>
<Object as FromInputValue<__S>>
<TypeKind as FromInputValue<__S>>
<Vec<T> as FromInputValue<S>>
<[T; N] as FromInputValue<S>>
<bool as FromInputValue<__S>>
`Arc<T>` implements `FromInputValue<S>`
`Box<T>` implements `FromInputValue<S>`
`ID` implements `FromInputValue<__S>`
`Object` implements `FromInputValue<__S>`
`TypeKind` implements `FromInputValue<__S>`
`Vec<T>` implements `FromInputValue<S>`
`[T; N]` implements `FromInputValue<S>`
`bool` implements `FromInputValue<__S>`
and $N others
note: required by a bound in `Registry::<'r, S>::arg`
--> $WORKSPACE/juniper/src/executor/mod.rs
Expand All @@ -50,14 +50,14 @@ error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
| ^^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjectA`
|
= help: the following other types implement trait `FromInputValue<S>`:
<Arc<T> as FromInputValue<S>>
<Box<T> as FromInputValue<S>>
<ID as FromInputValue<__S>>
<Object as FromInputValue<__S>>
<TypeKind as FromInputValue<__S>>
<Vec<T> as FromInputValue<S>>
<[T; N] as FromInputValue<S>>
<bool as FromInputValue<__S>>
`Arc<T>` implements `FromInputValue<S>`
`Box<T>` implements `FromInputValue<S>`
`ID` implements `FromInputValue<__S>`
`Object` implements `FromInputValue<__S>`
`TypeKind` implements `FromInputValue<__S>`
`Vec<T>` implements `FromInputValue<S>`
`[T; N]` implements `FromInputValue<S>`
`bool` implements `FromInputValue<__S>`
and $N others
= note: this error originates in the derive macro `GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)

Expand All @@ -68,13 +68,13 @@ error[E0277]: the trait bound `ObjectA: ToInputValue<_>` is not satisfied
| ^^^^^^^^^^^^^^^^^^ the trait `ToInputValue<_>` is not implemented for `ObjectA`
|
= help: the following other types implement trait `ToInputValue<S>`:
<&'a T as ToInputValue<S>>
<&'a [T] as ToInputValue<S>>
<&'a str as ToInputValue<S>>
<Arc<T> as ToInputValue<S>>
<Box<T> as ToInputValue<S>>
<ID as ToInputValue<__S>>
<Object as ToInputValue<__S>>
<TypeKind as ToInputValue<__S>>
`&'a T` implements `ToInputValue<S>`
`&'a [T]` implements `ToInputValue<S>`
`&'a str` implements `ToInputValue<S>`
`Arc<T>` implements `ToInputValue<S>`
`Box<T>` implements `ToInputValue<S>`
`ID` implements `ToInputValue<__S>`
`Object` implements `ToInputValue<__S>`
`TypeKind` implements `ToInputValue<__S>`
and $N others
= note: this error originates in the derive macro `GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
|
= help: the following other types implement trait `IsOutputType<S>`:
<&T as IsOutputType<S>>
<Arc<T> as IsOutputType<S>>
<Argument<'a, S> as IsOutputType<S>>
<Box<T> as IsOutputType<S>>
<CharacterValueEnum as IsOutputType<__S>>
<EnumValue as IsOutputType<__S>>
<ID as IsOutputType<__S>>
<SchemaType<'a, S> as IsOutputType<S>>
`&T` implements `IsOutputType<S>`
`Arc<T>` implements `IsOutputType<S>`
`Argument<'a, S>` implements `IsOutputType<S>`
`Box<T>` implements `IsOutputType<S>`
`CharacterValueEnum` implements `IsOutputType<__S>`
`EnumValue` implements `IsOutputType<__S>`
`ID` implements `IsOutputType<__S>`
`SchemaType<'a, S>` implements `IsOutputType<S>`
and $N others
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
| ^^^^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
|
= help: the following other types implement trait `IsOutputType<S>`:
<&T as IsOutputType<S>>
<Arc<T> as IsOutputType<S>>
<Argument<'a, S> as IsOutputType<S>>
<Box<T> as IsOutputType<S>>
<CharacterValueEnum as IsOutputType<__S>>
<EnumValue as IsOutputType<__S>>
<ID as IsOutputType<__S>>
<SchemaType<'a, S> as IsOutputType<S>>
`&T` implements `IsOutputType<S>`
`Arc<T>` implements `IsOutputType<S>`
`Argument<'a, S>` implements `IsOutputType<S>`
`Box<T>` implements `IsOutputType<S>`
`CharacterValueEnum` implements `IsOutputType<__S>`
`EnumValue` implements `IsOutputType<__S>`
`ID` implements `IsOutputType<__S>`
`SchemaType<'a, S>` implements `IsOutputType<S>`
and $N others
32 changes: 16 additions & 16 deletions tests/codegen/fail/interface/trait/argument_non_input_type.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
| ^^^^ the trait `IsInputType<__S>` is not implemented for `ObjA`
|
= help: the following other types implement trait `IsInputType<S>`:
<&T as IsInputType<S>>
<Arc<T> as IsInputType<S>>
<Box<T> as IsInputType<S>>
<ID as IsInputType<__S>>
<TypeKind as IsInputType<__S>>
<Vec<T> as IsInputType<S>>
<[T; N] as IsInputType<S>>
<[T] as IsInputType<S>>
`&T` implements `IsInputType<S>`
`Arc<T>` implements `IsInputType<S>`
`Box<T>` implements `IsInputType<S>`
`ID` implements `IsInputType<__S>`
`TypeKind` implements `IsInputType<__S>`
`Vec<T>` implements `IsInputType<S>`
`[T; N]` implements `IsInputType<S>`
`[T]` implements `IsInputType<S>`
and $N others

error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
Expand All @@ -25,14 +25,14 @@ error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
| ^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjA`
|
= help: the following other types implement trait `FromInputValue<S>`:
<Arc<T> as FromInputValue<S>>
<Box<T> as FromInputValue<S>>
<ID as FromInputValue<__S>>
<TypeKind as FromInputValue<__S>>
<Vec<T> as FromInputValue<S>>
<[T; N] as FromInputValue<S>>
<bool as FromInputValue<__S>>
<f64 as FromInputValue<__S>>
`Arc<T>` implements `FromInputValue<S>`
`Box<T>` implements `FromInputValue<S>`
`ID` implements `FromInputValue<__S>`
`TypeKind` implements `FromInputValue<__S>`
`Vec<T>` implements `FromInputValue<S>`
`[T; N]` implements `FromInputValue<S>`
`bool` implements `FromInputValue<__S>`
`f64` implements `FromInputValue<__S>`
and $N others
note: required by a bound in `Registry::<'r, S>::arg`
--> $WORKSPACE/juniper/src/executor/mod.rs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^ 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<T>`:
<[T; 10] as From<(T, T, T, T, T, T, T, T, T, T)>>
<[T; 11] as From<(T, T, T, T, T, T, T, T, T, T, T)>>
<[T; 12] as From<(T, T, T, T, T, T, T, T, T, T, T, T)>>
<[T; 1] as From<(T,)>>
<[T; 2] as From<(T, T)>>
<[T; 3] as From<(T, T, T)>>
<[T; 4] as From<(T, T, T, T)>>
<[T; 5] as From<(T, T, T, T, T)>>
`[T; 10]` implements `From<(T, T, T, T, T, T, T, T, T, T)>`
`[T; 11]` implements `From<(T, T, T, T, T, T, T, T, T, T, T)>`
`[T; 12]` implements `From<(T, T, T, T, T, T, T, T, T, T, T, T)>`
`[T; 1]` implements `From<(T,)>`
`[T; 2]` implements `From<(T, T)>`
`[T; 3]` implements `From<(T, T, T)>`
`[T; 4]` implements `From<(T, T, T, T)>`
`[T; 5]` implements `From<(T, T, T, T, T)>`
and $N others
= note: required for `[bool; 3]` to implement `Into<[bool; 2]>`
= note: this error originates in the attribute macro `graphql_interface` (in Nightly builds, run with -Z macro-backtrace for more info)
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
|
= help: the following other types implement trait `IsOutputType<S>`:
<&T as IsOutputType<S>>
<Arc<T> as IsOutputType<S>>
<Argument<'a, S> as IsOutputType<S>>
<Box<T> as IsOutputType<S>>
<CharacterValueEnum as IsOutputType<__S>>
<EnumValue as IsOutputType<__S>>
<ID as IsOutputType<__S>>
<SchemaType<'a, S> as IsOutputType<S>>
`&T` implements `IsOutputType<S>`
`Arc<T>` implements `IsOutputType<S>`
`Argument<'a, S>` implements `IsOutputType<S>`
`Box<T>` implements `IsOutputType<S>`
`CharacterValueEnum` implements `IsOutputType<__S>`
`EnumValue` implements `IsOutputType<__S>`
`ID` implements `IsOutputType<__S>`
`SchemaType<'a, S>` implements `IsOutputType<S>`
and $N others
64 changes: 32 additions & 32 deletions tests/codegen/fail/object/argument_non_input_type.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
| ^^^^ the trait `IsInputType<__S>` is not implemented for `ObjA`
|
= help: the following other types implement trait `IsInputType<S>`:
<&T as IsInputType<S>>
<Arc<T> as IsInputType<S>>
<Box<T> as IsInputType<S>>
<ID as IsInputType<__S>>
<TypeKind as IsInputType<__S>>
<Vec<T> as IsInputType<S>>
<[T; N] as IsInputType<S>>
<[T] as IsInputType<S>>
`&T` implements `IsInputType<S>`
`Arc<T>` implements `IsInputType<S>`
`Box<T>` implements `IsInputType<S>`
`ID` implements `IsInputType<__S>`
`TypeKind` implements `IsInputType<__S>`
`Vec<T>` implements `IsInputType<S>`
`[T; N]` implements `IsInputType<S>`
`[T]` implements `IsInputType<S>`
and $N others

error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
Expand All @@ -25,14 +25,14 @@ error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
| ^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjA`
|
= help: the following other types implement trait `FromInputValue<S>`:
<Arc<T> as FromInputValue<S>>
<Box<T> as FromInputValue<S>>
<ID as FromInputValue<__S>>
<TypeKind as FromInputValue<__S>>
<Vec<T> as FromInputValue<S>>
<[T; N] as FromInputValue<S>>
<bool as FromInputValue<__S>>
<f64 as FromInputValue<__S>>
`Arc<T>` implements `FromInputValue<S>`
`Box<T>` implements `FromInputValue<S>`
`ID` implements `FromInputValue<__S>`
`TypeKind` implements `FromInputValue<__S>`
`Vec<T>` implements `FromInputValue<S>`
`[T; N]` implements `FromInputValue<S>`
`bool` implements `FromInputValue<__S>`
`f64` implements `FromInputValue<__S>`
and $N others
note: required by a bound in `Registry::<'r, S>::arg`
--> $WORKSPACE/juniper/src/executor/mod.rs
Expand All @@ -50,14 +50,14 @@ error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
| ^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjA`
|
= help: the following other types implement trait `FromInputValue<S>`:
<Arc<T> as FromInputValue<S>>
<Box<T> as FromInputValue<S>>
<ID as FromInputValue<__S>>
<TypeKind as FromInputValue<__S>>
<Vec<T> as FromInputValue<S>>
<[T; N] as FromInputValue<S>>
<bool as FromInputValue<__S>>
<f64 as FromInputValue<__S>>
`Arc<T>` implements `FromInputValue<S>`
`Box<T>` implements `FromInputValue<S>`
`ID` implements `FromInputValue<__S>`
`TypeKind` implements `FromInputValue<__S>`
`Vec<T>` implements `FromInputValue<S>`
`[T; N]` implements `FromInputValue<S>`
`bool` implements `FromInputValue<__S>`
`f64` implements `FromInputValue<__S>`
and $N others
= note: this error originates in the attribute macro `graphql_object` (in Nightly builds, run with -Z macro-backtrace for more info)

Expand All @@ -68,14 +68,14 @@ error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
| ^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjA`
|
= help: the following other types implement trait `FromInputValue<S>`:
<Arc<T> as FromInputValue<S>>
<Box<T> as FromInputValue<S>>
<ID as FromInputValue<__S>>
<TypeKind as FromInputValue<__S>>
<Vec<T> as FromInputValue<S>>
<[T; N] as FromInputValue<S>>
<bool as FromInputValue<__S>>
<f64 as FromInputValue<__S>>
`Arc<T>` implements `FromInputValue<S>`
`Box<T>` implements `FromInputValue<S>`
`ID` implements `FromInputValue<__S>`
`TypeKind` implements `FromInputValue<__S>`
`Vec<T>` implements `FromInputValue<S>`
`[T; N]` implements `FromInputValue<S>`
`bool` implements `FromInputValue<__S>`
`f64` implements `FromInputValue<__S>`
and $N others

warning: unused variable: `obj`
Expand Down
16 changes: 8 additions & 8 deletions tests/codegen/fail/object/argument_wrong_default_array.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
| ^^^^^^^^^^^^^^^^^ 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<T>`:
<[T; 10] as From<(T, T, T, T, T, T, T, T, T, T)>>
<[T; 11] as From<(T, T, T, T, T, T, T, T, T, T, T)>>
<[T; 12] as From<(T, T, T, T, T, T, T, T, T, T, T, T)>>
<[T; 1] as From<(T,)>>
<[T; 2] as From<(T, T)>>
<[T; 3] as From<(T, T, T)>>
<[T; 4] as From<(T, T, T, T)>>
<[T; 5] as From<(T, T, T, T, T)>>
`[T; 10]` implements `From<(T, T, T, T, T, T, T, T, T, T)>`
`[T; 11]` implements `From<(T, T, T, T, T, T, T, T, T, T, T)>`
`[T; 12]` implements `From<(T, T, T, T, T, T, T, T, T, T, T, T)>`
`[T; 1]` implements `From<(T,)>`
`[T; 2]` implements `From<(T, T)>`
`[T; 3]` implements `From<(T, T, T)>`
`[T; 4]` implements `From<(T, T, T, T)>`
`[T; 5]` implements `From<(T, T, T, T, T)>`
and $N others
= note: required for `[bool; 3]` to implement `Into<[bool; 2]>`
= note: this error originates in the attribute macro `graphql_object` (in Nightly builds, run with -Z macro-backtrace for more info)
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
| ^^^^^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
|
= help: the following other types implement trait `IsOutputType<S>`:
<&T as IsOutputType<S>>
<Arc<T> as IsOutputType<S>>
<Argument<'a, S> as IsOutputType<S>>
<Box<T> as IsOutputType<S>>
<EnumValue as IsOutputType<__S>>
<ID as IsOutputType<__S>>
<ObjA as IsOutputType<__S>>
<SchemaType<'a, S> as IsOutputType<S>>
`&T` implements `IsOutputType<S>`
`Arc<T>` implements `IsOutputType<S>`
`Argument<'a, S>` implements `IsOutputType<S>`
`Box<T>` implements `IsOutputType<S>`
`EnumValue` implements `IsOutputType<__S>`
`ID` implements `IsOutputType<__S>`
`ObjA` implements `IsOutputType<__S>`
`SchemaType<'a, S>` implements `IsOutputType<S>`
and $N others
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
| ^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
|
= help: the following other types implement trait `IsOutputType<S>`:
<&T as IsOutputType<S>>
<Arc<T> as IsOutputType<S>>
<Argument<'a, S> as IsOutputType<S>>
<Box<T> as IsOutputType<S>>
<EnumValue as IsOutputType<__S>>
<ID as IsOutputType<__S>>
<ObjA as IsOutputType<__S>>
<SchemaType<'a, S> as IsOutputType<S>>
`&T` implements `IsOutputType<S>`
`Arc<T>` implements `IsOutputType<S>`
`Argument<'a, S>` implements `IsOutputType<S>`
`Box<T>` implements `IsOutputType<S>`
`EnumValue` implements `IsOutputType<__S>`
`ID` implements `IsOutputType<__S>`
`ObjA` implements `IsOutputType<__S>`
`SchemaType<'a, S>` implements `IsOutputType<S>`
and $N others
Loading

0 comments on commit fb96fb1

Please sign in to comment.