Fix codegen tests for latest nightly (#1182)

This commit is contained in:
Christian Legnitto 2023-08-27 10:38:40 -04:00 committed by GitHub
parent 108ccf2715
commit 421c8c9d58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 111 additions and 108 deletions

View file

@ -24,3 +24,4 @@ note: cycle used when collecting item types in top-level module
12 | |
13 | | fn main() {}
| |____________^
= 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

View file

@ -1,16 +1,16 @@
error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
--> fail/interface/struct/attr_field_non_output_return_type.rs:10:9
|
10 | id: ObjB,
| ^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
|
= help: the following other types implement trait `IsOutputType<S>`:
<bool as IsOutputType<__S>>
<i32 as IsOutputType<__S>>
<f64 as IsOutputType<__S>>
<CharacterValueEnum as IsOutputType<__S>>
<Box<T> as IsOutputType<S>>
<uuid::Uuid as IsOutputType<__S>>
<url::Url as IsOutputType<__S>>
<bson::datetime::DateTime as IsOutputType<__S>>
and $N others
--> fail/interface/struct/attr_field_non_output_return_type.rs:8:1
|
8 | #[graphql_interface]
| ^^^^^^^^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
|
= help: the following other types implement trait `IsOutputType<S>`:
<bool as IsOutputType<__S>>
<i32 as IsOutputType<__S>>
<f64 as IsOutputType<__S>>
<CharacterValueEnum as IsOutputType<__S>>
<Box<T> as IsOutputType<S>>
<uuid::Uuid as IsOutputType<__S>>
<url::Url as IsOutputType<__S>>
<bson::datetime::DateTime as IsOutputType<__S>>
and $N others

View file

@ -24,3 +24,4 @@ note: cycle used when collecting item types in top-level module
14 | |
15 | | fn main() {}
| |____________^
= 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

View file

@ -1,16 +1,16 @@
error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
--> fail/interface/struct/derive_field_non_output_return_type.rs:10:9
|
10 | id: ObjB,
| ^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
|
= help: the following other types implement trait `IsOutputType<S>`:
<bool as IsOutputType<__S>>
<i32 as IsOutputType<__S>>
<f64 as IsOutputType<__S>>
<CharacterValueEnum as IsOutputType<__S>>
<Box<T> as IsOutputType<S>>
<uuid::Uuid as IsOutputType<__S>>
<url::Url as IsOutputType<__S>>
<bson::datetime::DateTime as IsOutputType<__S>>
and $N others
--> fail/interface/struct/derive_field_non_output_return_type.rs:8:10
|
8 | #[derive(GraphQLInterface)]
| ^^^^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
|
= help: the following other types implement trait `IsOutputType<S>`:
<bool as IsOutputType<__S>>
<i32 as IsOutputType<__S>>
<f64 as IsOutputType<__S>>
<CharacterValueEnum as IsOutputType<__S>>
<Box<T> as IsOutputType<S>>
<uuid::Uuid as IsOutputType<__S>>
<url::Url as IsOutputType<__S>>
<bson::datetime::DateTime as IsOutputType<__S>>
and $N others

View file

@ -1,19 +1,19 @@
error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
--> fail/interface/trait/argument_non_input_type.rs:10:23
|
10 | fn id(&self, obj: ObjA) -> &str;
| ^^^^ the trait `IsInputType<__S>` is not implemented for `ObjA`
|
= help: the following other types implement trait `IsInputType<S>`:
<bool as IsInputType<__S>>
<i32 as IsInputType<__S>>
<f64 as IsInputType<__S>>
<Box<T> as IsInputType<S>>
<uuid::Uuid as IsInputType<__S>>
<url::Url as IsInputType<__S>>
<bson::datetime::DateTime as IsInputType<__S>>
<juniper::schema::model::DirectiveLocation as IsInputType<__S>>
and $N others
--> fail/interface/trait/argument_non_input_type.rs:8:1
|
8 | #[graphql_interface]
| ^^^^^^^^^^^^^^^^^^^^ the trait `IsInputType<__S>` is not implemented for `ObjA`
|
= help: the following other types implement trait `IsInputType<S>`:
<bool as IsInputType<__S>>
<i32 as IsInputType<__S>>
<f64 as IsInputType<__S>>
<Box<T> as IsInputType<S>>
<uuid::Uuid as IsInputType<__S>>
<url::Url as IsInputType<__S>>
<bson::datetime::DateTime as IsInputType<__S>>
<juniper::schema::model::DirectiveLocation as IsInputType<__S>>
and $N others
error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
--> fail/interface/trait/argument_non_input_type.rs:8:1

View file

@ -6,13 +6,13 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
|
= help: the following other types implement trait `From<T>`:
<[bool; LANES] as From<Mask<T, LANES>>>
<[u32; 4] as From<ppv_lite86::x86_64::vec128_storage>>
<[u32; 8] as From<ppv_lite86::x86_64::vec256_storage>>
<[u32; 16] as From<ppv_lite86::x86_64::vec512_storage>>
<[u64; 2] as From<ppv_lite86::x86_64::vec128_storage>>
<[u64; 4] as From<ppv_lite86::x86_64::vec256_storage>>
<[u64; 8] as From<ppv_lite86::x86_64::vec512_storage>>
<[u128; 1] as From<ppv_lite86::x86_64::vec128_storage>>
<[u32; 4] as From<ppv_lite86::generic::vec128_storage>>
<[u64; 2] as From<ppv_lite86::generic::vec128_storage>>
<[u64; 4] as From<ppv_lite86::generic::vec256_storage>>
<[T; N] as From<Simd<T, N>>>
<[T; 1] as From<(T,)>>
<[T; 2] as From<(T, T)>>
<[T; 3] as From<(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)

View file

@ -24,3 +24,4 @@ note: cycle used when collecting item types in top-level module
12 | |
13 | | fn main() {}
| |____________^
= 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

View file

@ -1,16 +1,16 @@
error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
--> fail/interface/trait/field_non_output_return_type.rs:10:21
|
10 | fn id(&self) -> ObjB;
| ^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
|
= help: the following other types implement trait `IsOutputType<S>`:
<bool as IsOutputType<__S>>
<i32 as IsOutputType<__S>>
<f64 as IsOutputType<__S>>
<CharacterValueEnum as IsOutputType<__S>>
<Box<T> as IsOutputType<S>>
<uuid::Uuid as IsOutputType<__S>>
<url::Url as IsOutputType<__S>>
<bson::datetime::DateTime as IsOutputType<__S>>
and $N others
--> fail/interface/trait/field_non_output_return_type.rs:8:1
|
8 | #[graphql_interface]
| ^^^^^^^^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
|
= help: the following other types implement trait `IsOutputType<S>`:
<bool as IsOutputType<__S>>
<i32 as IsOutputType<__S>>
<f64 as IsOutputType<__S>>
<CharacterValueEnum as IsOutputType<__S>>
<Box<T> as IsOutputType<S>>
<uuid::Uuid as IsOutputType<__S>>
<url::Url as IsOutputType<__S>>
<bson::datetime::DateTime as IsOutputType<__S>>
and $N others

View file

@ -1,8 +1,8 @@
error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
--> fail/object/argument_non_input_type.rs:12:23
--> fail/object/argument_non_input_type.rs:10:1
|
12 | fn id(&self, obj: ObjA) -> &str {
| ^^^^ the trait `IsInputType<__S>` is not implemented for `ObjA`
10 | #[graphql_object]
| ^^^^^^^^^^^^^^^^^ the trait `IsInputType<__S>` is not implemented for `ObjA`
|
= help: the following other types implement trait `IsInputType<S>`:
<bool as IsInputType<__S>>

View file

@ -6,13 +6,13 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
|
= help: the following other types implement trait `From<T>`:
<[bool; LANES] as From<Mask<T, LANES>>>
<[u32; 4] as From<ppv_lite86::x86_64::vec128_storage>>
<[u32; 8] as From<ppv_lite86::x86_64::vec256_storage>>
<[u32; 16] as From<ppv_lite86::x86_64::vec512_storage>>
<[u64; 2] as From<ppv_lite86::x86_64::vec128_storage>>
<[u64; 4] as From<ppv_lite86::x86_64::vec256_storage>>
<[u64; 8] as From<ppv_lite86::x86_64::vec512_storage>>
<[u128; 1] as From<ppv_lite86::x86_64::vec128_storage>>
<[u32; 4] as From<ppv_lite86::generic::vec128_storage>>
<[u64; 2] as From<ppv_lite86::generic::vec128_storage>>
<[u64; 4] as From<ppv_lite86::generic::vec256_storage>>
<[T; N] as From<Simd<T, N>>>
<[T; 1] as From<(T,)>>
<[T; 2] as From<(T, T)>>
<[T; 3] as From<(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)

View file

@ -1,8 +1,8 @@
error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
--> fail/object/attr_field_non_output_return_type.rs:12:21
--> fail/object/attr_field_non_output_return_type.rs:10:1
|
12 | fn id(&self) -> ObjB {
| ^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
10 | #[graphql_object]
| ^^^^^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
|
= help: the following other types implement trait `IsOutputType<S>`:
<bool as IsOutputType<__S>>

View file

@ -1,16 +1,16 @@
error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
--> fail/object/derive_field_non_output_return_type.rs:10:9
|
10 | id: ObjB,
| ^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
|
= help: the following other types implement trait `IsOutputType<S>`:
<bool as IsOutputType<__S>>
<i32 as IsOutputType<__S>>
<f64 as IsOutputType<__S>>
<ObjA as IsOutputType<__S>>
<Box<T> as IsOutputType<S>>
<uuid::Uuid as IsOutputType<__S>>
<url::Url as IsOutputType<__S>>
<bson::datetime::DateTime as IsOutputType<__S>>
and $N others
--> fail/object/derive_field_non_output_return_type.rs:8:10
|
8 | #[derive(GraphQLObject)]
| ^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
|
= help: the following other types implement trait `IsOutputType<S>`:
<bool as IsOutputType<__S>>
<i32 as IsOutputType<__S>>
<f64 as IsOutputType<__S>>
<ObjA as IsOutputType<__S>>
<Box<T> as IsOutputType<S>>
<uuid::Uuid as IsOutputType<__S>>
<url::Url as IsOutputType<__S>>
<bson::datetime::DateTime as IsOutputType<__S>>
and $N others

View file

@ -7,10 +7,10 @@ warning: unused variable: `obj`
= note: `#[warn(unused_variables)]` on by default
error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
--> fail/subscription/argument_non_input_type.rs:17:29
--> fail/subscription/argument_non_input_type.rs:15:1
|
17 | async fn id(&self, obj: ObjA) -> Stream<'static, &'static str> {
| ^^^^ the trait `IsInputType<__S>` is not implemented for `ObjA`
15 | #[graphql_subscription]
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `IsInputType<__S>` is not implemented for `ObjA`
|
= help: the following other types implement trait `IsInputType<S>`:
<bool as IsInputType<__S>>

View file

@ -6,13 +6,13 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
|
= help: the following other types implement trait `From<T>`:
<[bool; LANES] as From<Mask<T, LANES>>>
<[u32; 4] as From<ppv_lite86::x86_64::vec128_storage>>
<[u32; 8] as From<ppv_lite86::x86_64::vec256_storage>>
<[u32; 16] as From<ppv_lite86::x86_64::vec512_storage>>
<[u64; 2] as From<ppv_lite86::x86_64::vec128_storage>>
<[u64; 4] as From<ppv_lite86::x86_64::vec256_storage>>
<[u64; 8] as From<ppv_lite86::x86_64::vec512_storage>>
<[u128; 1] as From<ppv_lite86::x86_64::vec128_storage>>
<[u32; 4] as From<ppv_lite86::generic::vec128_storage>>
<[u64; 2] as From<ppv_lite86::generic::vec128_storage>>
<[u64; 4] as From<ppv_lite86::generic::vec256_storage>>
<[T; N] as From<Simd<T, N>>>
<[T; 1] as From<(T,)>>
<[T; 2] as From<(T, T)>>
<[T; 3] as From<(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_subscription` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -1,8 +1,8 @@
error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
--> fail/subscription/field_non_output_return_type.rs:17:27
--> fail/subscription/field_non_output_return_type.rs:15:1
|
17 | async fn id(&self) -> Stream<'static, ObjB> {
| ^^^^^^^^^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
15 | #[graphql_subscription]
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
|
= help: the following other types implement trait `IsOutputType<S>`:
<bool as IsOutputType<__S>>