Skip to content

Commit a297b9b

Browse files
committed
Fix codegen tests for latest nightly
1 parent b172d51 commit a297b9b

17 files changed

+161
-161
lines changed

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

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ error[E0277]: the trait bound `ObjectA: IsInputType<__S>` is not satisfied
55
| ^^^^^^^^^^^^^^^^^^ the trait `IsInputType<__S>` is not implemented for `ObjectA`
66
|
77
= help: the following other types implement trait `IsInputType<S>`:
8-
<&T as IsInputType<S>>
9-
<Arc<T> as IsInputType<S>>
10-
<Box<T> as IsInputType<S>>
11-
<ID as IsInputType<__S>>
8+
<bool as IsInputType<__S>>
9+
<i32 as IsInputType<__S>>
10+
<f64 as IsInputType<__S>>
1211
<Object as IsInputType<__S>>
13-
<TypeKind as IsInputType<__S>>
14-
<Vec<T> as IsInputType<S>>
15-
<[T; N] as IsInputType<S>>
12+
<Box<T> as IsInputType<S>>
13+
<uuid::Uuid as IsInputType<__S>>
14+
<url::Url as IsInputType<__S>>
15+
<bson::datetime::DateTime as IsInputType<__S>>
1616
and $N others
1717
= note: this error originates in the derive macro `GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)
1818

@@ -23,14 +23,14 @@ error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
2323
| ^^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjectA`
2424
|
2525
= help: the following other types implement trait `FromInputValue<S>`:
26-
<Arc<T> as FromInputValue<S>>
27-
<Box<T> as FromInputValue<S>>
28-
<ID as FromInputValue<__S>>
29-
<Object as FromInputValue<__S>>
30-
<TypeKind as FromInputValue<__S>>
31-
<Vec<T> as FromInputValue<S>>
32-
<[T; N] as FromInputValue<S>>
3326
<bool as FromInputValue<__S>>
27+
<i32 as FromInputValue<__S>>
28+
<f64 as FromInputValue<__S>>
29+
<Object as FromInputValue<__S>>
30+
<Box<T> as FromInputValue<S>>
31+
<uuid::Uuid as FromInputValue<__S>>
32+
<url::Url as FromInputValue<__S>>
33+
<bson::datetime::DateTime as FromInputValue<__S>>
3434
and $N others
3535
note: required by a bound in `Registry::<'r, S>::arg`
3636
--> $WORKSPACE/juniper/src/executor/mod.rs
@@ -49,14 +49,14 @@ error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
4949
| ^^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjectA`
5050
|
5151
= help: the following other types implement trait `FromInputValue<S>`:
52-
<Arc<T> as FromInputValue<S>>
53-
<Box<T> as FromInputValue<S>>
54-
<ID as FromInputValue<__S>>
55-
<Object as FromInputValue<__S>>
56-
<TypeKind as FromInputValue<__S>>
57-
<Vec<T> as FromInputValue<S>>
58-
<[T; N] as FromInputValue<S>>
5952
<bool as FromInputValue<__S>>
53+
<i32 as FromInputValue<__S>>
54+
<f64 as FromInputValue<__S>>
55+
<Object as FromInputValue<__S>>
56+
<Box<T> as FromInputValue<S>>
57+
<uuid::Uuid as FromInputValue<__S>>
58+
<url::Url as FromInputValue<__S>>
59+
<bson::datetime::DateTime as FromInputValue<__S>>
6060
and $N others
6161
= note: this error originates in the derive macro `GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)
6262

@@ -67,13 +67,13 @@ error[E0277]: the trait bound `ObjectA: ToInputValue<_>` is not satisfied
6767
| ^^^^^^^^^^^^^^^^^^ the trait `ToInputValue<_>` is not implemented for `ObjectA`
6868
|
6969
= help: the following other types implement trait `ToInputValue<S>`:
70-
<&'a T as ToInputValue<S>>
71-
<&'a [T] as ToInputValue<S>>
72-
<&'a str as ToInputValue<S>>
73-
<Arc<T> as ToInputValue<S>>
74-
<Box<T> as ToInputValue<S>>
75-
<ID as ToInputValue<__S>>
70+
<bool as ToInputValue<__S>>
71+
<i32 as ToInputValue<__S>>
72+
<f64 as ToInputValue<__S>>
7673
<Object as ToInputValue<__S>>
77-
<TypeKind as ToInputValue<__S>>
74+
<Box<T> as ToInputValue<S>>
75+
<uuid::Uuid as ToInputValue<__S>>
76+
<url::Url as ToInputValue<__S>>
77+
<bson::datetime::DateTime as ToInputValue<__S>>
7878
and $N others
7979
= note: this error originates in the derive macro `GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
55
| ^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
66
|
77
= help: the following other types implement trait `IsOutputType<S>`:
8-
<&T as IsOutputType<S>>
9-
<Arc<T> as IsOutputType<S>>
10-
<Argument<'a, S> as IsOutputType<S>>
11-
<Box<T> as IsOutputType<S>>
8+
<bool as IsOutputType<__S>>
9+
<i32 as IsOutputType<__S>>
10+
<f64 as IsOutputType<__S>>
1211
<CharacterValueEnum as IsOutputType<__S>>
13-
<EnumValue as IsOutputType<__S>>
14-
<ID as IsOutputType<__S>>
15-
<SchemaType<'a, S> as IsOutputType<S>>
12+
<Box<T> as IsOutputType<S>>
13+
<uuid::Uuid as IsOutputType<__S>>
14+
<url::Url as IsOutputType<__S>>
15+
<bson::datetime::DateTime as IsOutputType<__S>>
1616
and $N others

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
55
| ^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
66
|
77
= help: the following other types implement trait `IsOutputType<S>`:
8-
<&T as IsOutputType<S>>
9-
<Arc<T> as IsOutputType<S>>
10-
<Argument<'a, S> as IsOutputType<S>>
11-
<Box<T> as IsOutputType<S>>
8+
<bool as IsOutputType<__S>>
9+
<i32 as IsOutputType<__S>>
10+
<f64 as IsOutputType<__S>>
1211
<CharacterValueEnum as IsOutputType<__S>>
13-
<EnumValue as IsOutputType<__S>>
14-
<ID as IsOutputType<__S>>
15-
<SchemaType<'a, S> as IsOutputType<S>>
12+
<Box<T> as IsOutputType<S>>
13+
<uuid::Uuid as IsOutputType<__S>>
14+
<url::Url as IsOutputType<__S>>
15+
<bson::datetime::DateTime as IsOutputType<__S>>
1616
and $N others

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
55
| ^^^^ the trait `IsInputType<__S>` is not implemented for `ObjA`
66
|
77
= help: the following other types implement trait `IsInputType<S>`:
8-
<&T as IsInputType<S>>
9-
<Arc<T> as IsInputType<S>>
8+
<bool as IsInputType<__S>>
9+
<i32 as IsInputType<__S>>
10+
<f64 as IsInputType<__S>>
1011
<Box<T> as IsInputType<S>>
11-
<ID as IsInputType<__S>>
12-
<TypeKind as IsInputType<__S>>
13-
<Vec<T> as IsInputType<S>>
14-
<[T; N] as IsInputType<S>>
15-
<[T] as IsInputType<S>>
12+
<uuid::Uuid as IsInputType<__S>>
13+
<url::Url as IsInputType<__S>>
14+
<bson::datetime::DateTime as IsInputType<__S>>
15+
<juniper::schema::model::DirectiveLocation as IsInputType<__S>>
1616
and $N others
1717

1818
error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
@@ -22,14 +22,14 @@ error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
2222
| ^^^^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjA`
2323
|
2424
= help: the following other types implement trait `FromInputValue<S>`:
25-
<Arc<T> as FromInputValue<S>>
26-
<Box<T> as FromInputValue<S>>
27-
<ID as FromInputValue<__S>>
28-
<TypeKind as FromInputValue<__S>>
29-
<Vec<T> as FromInputValue<S>>
30-
<[T; N] as FromInputValue<S>>
3125
<bool as FromInputValue<__S>>
26+
<i32 as FromInputValue<__S>>
27+
<f64 as FromInputValue<__S>>
28+
<Box<T> as FromInputValue<S>>
29+
<uuid::Uuid as FromInputValue<__S>>
30+
<url::Url as FromInputValue<__S>>
3231
<bson::datetime::DateTime as FromInputValue<__S>>
32+
<juniper::schema::model::DirectiveLocation as FromInputValue<__S>>
3333
and $N others
3434
note: required by a bound in `Registry::<'r, S>::arg`
3535
--> $WORKSPACE/juniper/src/executor/mod.rs

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
55
| ^^^^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`
66
|
77
= help: the following other types implement trait `From<T>`:
8-
<&'a [ascii::ascii_char::AsciiChar] as From<&'a ascii::ascii_str::AsciiStr>>
9-
<&'a [u32; 4] as From<&'a ppv_lite86::x86_64::vec128_storage>>
10-
<&'a [u8] as From<&'a ascii::ascii_str::AsciiStr>>
11-
<&'a mut [ascii::ascii_char::AsciiChar] as From<&'a mut ascii::ascii_str::AsciiStr>>
12-
<&'input [u8] as From<gimli::read::endian_slice::EndianSlice<'input, Endian>>>
13-
<[T; 10] as From<(T, T, T, T, T, T, T, T, T, T)>>
14-
<[T; 11] as From<(T, T, T, T, T, T, T, T, T, T, T)>>
15-
<[T; 12] as From<(T, T, T, T, T, T, T, T, T, T, T, T)>>
8+
<[bool; LANES] as From<Mask<T, LANES>>>
9+
<[u32; 4] as From<ppv_lite86::x86_64::vec128_storage>>
10+
<[u32; 8] as From<ppv_lite86::x86_64::vec256_storage>>
11+
<[u32; 16] as From<ppv_lite86::x86_64::vec512_storage>>
12+
<[u64; 2] as From<ppv_lite86::x86_64::vec128_storage>>
13+
<[u64; 4] as From<ppv_lite86::x86_64::vec256_storage>>
14+
<[u64; 8] as From<ppv_lite86::x86_64::vec512_storage>>
15+
<[u128; 1] as From<ppv_lite86::x86_64::vec128_storage>>
1616
and $N others
1717
= note: required for `[bool; 3]` to implement `Into<[bool; 2]>`
1818
= note: this error originates in the attribute macro `graphql_interface` (in Nightly builds, run with -Z macro-backtrace for more info)

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
55
| ^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
66
|
77
= help: the following other types implement trait `IsOutputType<S>`:
8-
<&T as IsOutputType<S>>
9-
<Arc<T> as IsOutputType<S>>
10-
<Argument<'a, S> as IsOutputType<S>>
11-
<Box<T> as IsOutputType<S>>
8+
<bool as IsOutputType<__S>>
9+
<i32 as IsOutputType<__S>>
10+
<f64 as IsOutputType<__S>>
1211
<CharacterValueEnum as IsOutputType<__S>>
13-
<EnumValue as IsOutputType<__S>>
14-
<ID as IsOutputType<__S>>
15-
<SchemaType<'a, S> as IsOutputType<S>>
12+
<Box<T> as IsOutputType<S>>
13+
<uuid::Uuid as IsOutputType<__S>>
14+
<url::Url as IsOutputType<__S>>
15+
<bson::datetime::DateTime as IsOutputType<__S>>
1616
and $N others

tests/codegen/fail/object/argument_non_input_type.stderr

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
55
| ^^^^ the trait `IsInputType<__S>` is not implemented for `ObjA`
66
|
77
= help: the following other types implement trait `IsInputType<S>`:
8-
<&T as IsInputType<S>>
9-
<Arc<T> as IsInputType<S>>
8+
<bool as IsInputType<__S>>
9+
<i32 as IsInputType<__S>>
10+
<f64 as IsInputType<__S>>
1011
<Box<T> as IsInputType<S>>
11-
<ID as IsInputType<__S>>
12-
<TypeKind as IsInputType<__S>>
13-
<Vec<T> as IsInputType<S>>
14-
<[T; N] as IsInputType<S>>
15-
<[T] as IsInputType<S>>
12+
<uuid::Uuid as IsInputType<__S>>
13+
<url::Url as IsInputType<__S>>
14+
<bson::datetime::DateTime as IsInputType<__S>>
15+
<juniper::schema::model::DirectiveLocation as IsInputType<__S>>
1616
and $N others
1717

1818
error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
@@ -22,14 +22,14 @@ error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
2222
| ^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjA`
2323
|
2424
= help: the following other types implement trait `FromInputValue<S>`:
25-
<Arc<T> as FromInputValue<S>>
26-
<Box<T> as FromInputValue<S>>
27-
<ID as FromInputValue<__S>>
28-
<TypeKind as FromInputValue<__S>>
29-
<Vec<T> as FromInputValue<S>>
30-
<[T; N] as FromInputValue<S>>
3125
<bool as FromInputValue<__S>>
26+
<i32 as FromInputValue<__S>>
27+
<f64 as FromInputValue<__S>>
28+
<Box<T> as FromInputValue<S>>
29+
<uuid::Uuid as FromInputValue<__S>>
30+
<url::Url as FromInputValue<__S>>
3231
<bson::datetime::DateTime as FromInputValue<__S>>
32+
<juniper::schema::model::DirectiveLocation as FromInputValue<__S>>
3333
and $N others
3434
note: required by a bound in `Registry::<'r, S>::arg`
3535
--> $WORKSPACE/juniper/src/executor/mod.rs
@@ -48,13 +48,13 @@ error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
4848
| ^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjA`
4949
|
5050
= help: the following other types implement trait `FromInputValue<S>`:
51-
<Arc<T> as FromInputValue<S>>
52-
<Box<T> as FromInputValue<S>>
53-
<ID as FromInputValue<__S>>
54-
<TypeKind as FromInputValue<__S>>
55-
<Vec<T> as FromInputValue<S>>
56-
<[T; N] as FromInputValue<S>>
5751
<bool as FromInputValue<__S>>
52+
<i32 as FromInputValue<__S>>
53+
<f64 as FromInputValue<__S>>
54+
<Box<T> as FromInputValue<S>>
55+
<uuid::Uuid as FromInputValue<__S>>
56+
<url::Url as FromInputValue<__S>>
5857
<bson::datetime::DateTime as FromInputValue<__S>>
58+
<juniper::schema::model::DirectiveLocation as FromInputValue<__S>>
5959
and $N others
6060
= note: this error originates in the attribute macro `graphql_object` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/codegen/fail/object/argument_wrong_default_array.stderr

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
55
| ^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`
66
|
77
= help: the following other types implement trait `From<T>`:
8-
<&'a [ascii::ascii_char::AsciiChar] as From<&'a ascii::ascii_str::AsciiStr>>
9-
<&'a [u32; 4] as From<&'a ppv_lite86::x86_64::vec128_storage>>
10-
<&'a [u8] as From<&'a ascii::ascii_str::AsciiStr>>
11-
<&'a mut [ascii::ascii_char::AsciiChar] as From<&'a mut ascii::ascii_str::AsciiStr>>
12-
<&'input [u8] as From<gimli::read::endian_slice::EndianSlice<'input, Endian>>>
13-
<[T; 10] as From<(T, T, T, T, T, T, T, T, T, T)>>
14-
<[T; 11] as From<(T, T, T, T, T, T, T, T, T, T, T)>>
15-
<[T; 12] as From<(T, T, T, T, T, T, T, T, T, T, T, T)>>
8+
<[bool; LANES] as From<Mask<T, LANES>>>
9+
<[u32; 4] as From<ppv_lite86::x86_64::vec128_storage>>
10+
<[u32; 8] as From<ppv_lite86::x86_64::vec256_storage>>
11+
<[u32; 16] as From<ppv_lite86::x86_64::vec512_storage>>
12+
<[u64; 2] as From<ppv_lite86::x86_64::vec128_storage>>
13+
<[u64; 4] as From<ppv_lite86::x86_64::vec256_storage>>
14+
<[u64; 8] as From<ppv_lite86::x86_64::vec512_storage>>
15+
<[u128; 1] as From<ppv_lite86::x86_64::vec128_storage>>
1616
and $N others
1717
= note: required for `[bool; 3]` to implement `Into<[bool; 2]>`
1818
= note: this error originates in the attribute macro `graphql_object` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/codegen/fail/object/attr_field_non_output_return_type.stderr

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
55
| ^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
66
|
77
= help: the following other types implement trait `IsOutputType<S>`:
8-
<&T as IsOutputType<S>>
9-
<Arc<T> as IsOutputType<S>>
10-
<Argument<'a, S> as IsOutputType<S>>
11-
<Box<T> as IsOutputType<S>>
12-
<EnumValue as IsOutputType<__S>>
13-
<ID as IsOutputType<__S>>
8+
<bool as IsOutputType<__S>>
9+
<i32 as IsOutputType<__S>>
10+
<f64 as IsOutputType<__S>>
1411
<ObjA as IsOutputType<__S>>
15-
<SchemaType<'a, S> as IsOutputType<S>>
12+
<Box<T> as IsOutputType<S>>
13+
<uuid::Uuid as IsOutputType<__S>>
14+
<url::Url as IsOutputType<__S>>
15+
<bson::datetime::DateTime as IsOutputType<__S>>
1616
and $N others

tests/codegen/fail/object/derive_field_non_output_return_type.stderr

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
55
| ^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
66
|
77
= help: the following other types implement trait `IsOutputType<S>`:
8-
<&T as IsOutputType<S>>
9-
<Arc<T> as IsOutputType<S>>
10-
<Argument<'a, S> as IsOutputType<S>>
11-
<Box<T> as IsOutputType<S>>
12-
<EnumValue as IsOutputType<__S>>
13-
<ID as IsOutputType<__S>>
8+
<bool as IsOutputType<__S>>
9+
<i32 as IsOutputType<__S>>
10+
<f64 as IsOutputType<__S>>
1411
<ObjA as IsOutputType<__S>>
15-
<SchemaType<'a, S> as IsOutputType<S>>
12+
<Box<T> as IsOutputType<S>>
13+
<uuid::Uuid as IsOutputType<__S>>
14+
<url::Url as IsOutputType<__S>>
15+
<bson::datetime::DateTime as IsOutputType<__S>>
1616
and $N others

0 commit comments

Comments
 (0)