Fix codegen failure tests on latest nightly Rust
This commit is contained in:
parent
0f400c3799
commit
a4f4d24677
7 changed files with 24 additions and 24 deletions
|
@ -1,27 +1,27 @@
|
|||
error[E0277]: the trait bound `ObjectA: juniper::marker::IsInputType<__S>` is not satisfied
|
||||
error[E0277]: the trait bound `ObjectA: IsInputType<__S>` is not satisfied
|
||||
--> $DIR/derive_incompatible_object.rs:6:10
|
||||
|
|
||||
6 | #[derive(juniper::GraphQLInputObject)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `juniper::marker::IsInputType<__S>` is not implemented for `ObjectA`
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `IsInputType<__S>` is not implemented for `ObjectA`
|
||||
|
|
||||
= note: required by `juniper::marker::IsInputType::mark`
|
||||
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the trait bound `ObjectA: juniper::FromInputValue<__S>` is not satisfied
|
||||
error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
|
||||
--> $DIR/derive_incompatible_object.rs:6:10
|
||||
|
|
||||
6 | #[derive(juniper::GraphQLInputObject)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `juniper::FromInputValue<__S>` is not implemented for `ObjectA`
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjectA`
|
||||
|
|
||||
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the trait bound `ObjectA: juniper::FromInputValue<__S>` is not satisfied
|
||||
error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
|
||||
--> $DIR/derive_incompatible_object.rs:6:10
|
||||
|
|
||||
6 | #[derive(juniper::GraphQLInputObject)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `juniper::FromInputValue<__S>` is not implemented for `ObjectA`
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjectA`
|
||||
|
|
||||
= note: required by `juniper::FromInputValue::from_input_value`
|
||||
= note: required by `from_input_value`
|
||||
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0599]: no method named `to_input_value` found for struct `ObjectA` in the current scope
|
||||
|
@ -35,5 +35,5 @@ error[E0599]: no method named `to_input_value` found for struct `ObjectA` in the
|
|||
|
|
||||
= help: items from traits can only be used if the trait is implemented and in scope
|
||||
= note: the following trait defines an item `to_input_value`, perhaps you need to implement it:
|
||||
candidate #1: `juniper::ToInputValue`
|
||||
candidate #1: `ToInputValue`
|
||||
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
error[E0277]: the trait bound `ObjA: juniper::FromInputValue` is not satisfied
|
||||
error[E0277]: the trait bound `ObjA: FromInputValue` is not satisfied
|
||||
--> $DIR/impl_argument_no_object.rs:11:1
|
||||
|
|
||||
11 | / juniper::graphql_interface!(Character: () where Scalar = juniper::DefaultScalarValue |&self| {
|
||||
|
@ -8,11 +8,11 @@ error[E0277]: the trait bound `ObjA: juniper::FromInputValue` is not satisfied
|
|||
... |
|
||||
20 | | }
|
||||
21 | | });
|
||||
| |___^ the trait `juniper::FromInputValue` is not implemented for `ObjA`
|
||||
| |___^ the trait `FromInputValue` is not implemented for `ObjA`
|
||||
|
|
||||
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the trait bound `ObjA: juniper::FromInputValue` is not satisfied
|
||||
error[E0277]: the trait bound `ObjA: FromInputValue` is not satisfied
|
||||
--> $DIR/impl_argument_no_object.rs:11:1
|
||||
|
|
||||
11 | / juniper::graphql_interface!(Character: () where Scalar = juniper::DefaultScalarValue |&self| {
|
||||
|
@ -22,6 +22,6 @@ error[E0277]: the trait bound `ObjA: juniper::FromInputValue` is not satisfied
|
|||
... |
|
||||
20 | | }
|
||||
21 | | });
|
||||
| |___^ the trait `juniper::FromInputValue` is not implemented for `ObjA`
|
||||
| |___^ the trait `FromInputValue` is not implemented for `ObjA`
|
||||
|
|
||||
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
error[E0277]: the trait bound `Obj: juniper::marker::IsInputType<juniper::DefaultScalarValue>` is not satisfied
|
||||
error[E0277]: the trait bound `Obj: IsInputType<DefaultScalarValue>` is not satisfied
|
||||
--> $DIR/impl_argument_no_object.rs:8:1
|
||||
|
|
||||
8 | #[juniper::graphql_object]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `juniper::marker::IsInputType<juniper::DefaultScalarValue>` is not implemented for `Obj`
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `IsInputType<DefaultScalarValue>` is not implemented for `Obj`
|
||||
|
|
||||
= note: required by `juniper::marker::IsInputType::mark`
|
||||
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the trait bound `Obj: juniper::FromInputValue` is not satisfied
|
||||
error[E0277]: the trait bound `Obj: FromInputValue` is not satisfied
|
||||
--> $DIR/impl_argument_no_object.rs:8:1
|
||||
|
|
||||
8 | #[juniper::graphql_object]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `juniper::FromInputValue` is not implemented for `Obj`
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromInputValue` is not implemented for `Obj`
|
||||
|
|
||||
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
error[E0277]: the trait bound `Test: juniper::marker::GraphQLObjectType<__S>` is not satisfied
|
||||
error[E0277]: the trait bound `Test: GraphQLObjectType<__S>` is not satisfied
|
||||
--> $DIR/enum_non_object_variant.rs:9:10
|
||||
|
|
||||
9 | #[derive(GraphQLUnion)]
|
||||
| ^^^^^^^^^^^^ the trait `juniper::marker::GraphQLObjectType<__S>` is not implemented for `Test`
|
||||
| ^^^^^^^^^^^^ the trait `GraphQLObjectType<__S>` is not implemented for `Test`
|
||||
|
|
||||
= note: required by `juniper::marker::GraphQLObjectType::mark`
|
||||
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
error[E0277]: the trait bound `Test: juniper::marker::GraphQLObjectType<__S>` is not satisfied
|
||||
error[E0277]: the trait bound `Test: GraphQLObjectType<__S>` is not satisfied
|
||||
--> $DIR/struct_non_object_variant.rs:9:10
|
||||
|
|
||||
9 | #[derive(GraphQLUnion)]
|
||||
| ^^^^^^^^^^^^ the trait `juniper::marker::GraphQLObjectType<__S>` is not implemented for `Test`
|
||||
| ^^^^^^^^^^^^ the trait `GraphQLObjectType<__S>` is not implemented for `Test`
|
||||
|
|
||||
= note: required by `juniper::marker::GraphQLObjectType::mark`
|
||||
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
error[E0277]: the trait bound `CustomContext: juniper::FromContext<SubContext>` is not satisfied
|
||||
error[E0277]: the trait bound `CustomContext: FromContext<SubContext>` is not satisfied
|
||||
--> $DIR/trait_fail_infer_context.rs:3:1
|
||||
|
|
||||
3 | #[graphql_union]
|
||||
| ^^^^^^^^^^^^^^^^ the trait `juniper::FromContext<SubContext>` is not implemented for `CustomContext`
|
||||
| ^^^^^^^^^^^^^^^^ the trait `FromContext<SubContext>` is not implemented for `CustomContext`
|
||||
|
|
||||
= note: required by `juniper::FromContext::from`
|
||||
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
error[E0277]: the trait bound `Test: juniper::marker::GraphQLObjectType<__S>` is not satisfied
|
||||
error[E0277]: the trait bound `Test: GraphQLObjectType<__S>` is not satisfied
|
||||
--> $DIR/trait_non_object_variant.rs:9:1
|
||||
|
|
||||
9 | #[graphql_union]
|
||||
| ^^^^^^^^^^^^^^^^ the trait `juniper::marker::GraphQLObjectType<__S>` is not implemented for `Test`
|
||||
| ^^^^^^^^^^^^^^^^ the trait `GraphQLObjectType<__S>` is not implemented for `Test`
|
||||
|
|
||||
= note: required by `juniper::marker::GraphQLObjectType::mark`
|
||||
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
Loading…
Reference in a new issue