diff --git a/integration_tests/codegen_fail/fail/input-object/derive_incompatible_object.stderr b/integration_tests/codegen_fail/fail/input-object/derive_incompatible_object.stderr index 92eeb518..c55c2e79 100644 --- a/integration_tests/codegen_fail/fail/input-object/derive_incompatible_object.stderr +++ b/integration_tests/codegen_fail/fail/input-object/derive_incompatible_object.stderr @@ -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) diff --git a/integration_tests/codegen_fail/fail/interface/impl_argument_no_object.stderr b/integration_tests/codegen_fail/fail/interface/impl_argument_no_object.stderr index 47b037c8..10bf97ff 100644 --- a/integration_tests/codegen_fail/fail/interface/impl_argument_no_object.stderr +++ b/integration_tests/codegen_fail/fail/interface/impl_argument_no_object.stderr @@ -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) diff --git a/integration_tests/codegen_fail/fail/object/impl_argument_no_object.stderr b/integration_tests/codegen_fail/fail/object/impl_argument_no_object.stderr index 946ea4fd..c1017787 100644 --- a/integration_tests/codegen_fail/fail/object/impl_argument_no_object.stderr +++ b/integration_tests/codegen_fail/fail/object/impl_argument_no_object.stderr @@ -1,16 +1,16 @@ -error[E0277]: the trait bound `Obj: juniper::marker::IsInputType` is not satisfied +error[E0277]: the trait bound `Obj: IsInputType` is not satisfied --> $DIR/impl_argument_no_object.rs:8:1 | 8 | #[juniper::graphql_object] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `juniper::marker::IsInputType` is not implemented for `Obj` + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `IsInputType` 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) diff --git a/integration_tests/codegen_fail/fail/union/enum_non_object_variant.stderr b/integration_tests/codegen_fail/fail/union/enum_non_object_variant.stderr index 464900f1..d2c750f3 100644 --- a/integration_tests/codegen_fail/fail/union/enum_non_object_variant.stderr +++ b/integration_tests/codegen_fail/fail/union/enum_non_object_variant.stderr @@ -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) diff --git a/integration_tests/codegen_fail/fail/union/struct_non_object_variant.stderr b/integration_tests/codegen_fail/fail/union/struct_non_object_variant.stderr index 3f706a54..c3cbd2c0 100644 --- a/integration_tests/codegen_fail/fail/union/struct_non_object_variant.stderr +++ b/integration_tests/codegen_fail/fail/union/struct_non_object_variant.stderr @@ -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) diff --git a/integration_tests/codegen_fail/fail/union/trait_fail_infer_context.stderr b/integration_tests/codegen_fail/fail/union/trait_fail_infer_context.stderr index f452af52..bf276a18 100644 --- a/integration_tests/codegen_fail/fail/union/trait_fail_infer_context.stderr +++ b/integration_tests/codegen_fail/fail/union/trait_fail_infer_context.stderr @@ -1,8 +1,8 @@ -error[E0277]: the trait bound `CustomContext: juniper::FromContext` is not satisfied +error[E0277]: the trait bound `CustomContext: FromContext` is not satisfied --> $DIR/trait_fail_infer_context.rs:3:1 | 3 | #[graphql_union] - | ^^^^^^^^^^^^^^^^ the trait `juniper::FromContext` is not implemented for `CustomContext` + | ^^^^^^^^^^^^^^^^ the trait `FromContext` 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) diff --git a/integration_tests/codegen_fail/fail/union/trait_non_object_variant.stderr b/integration_tests/codegen_fail/fail/union/trait_non_object_variant.stderr index f6fe2698..41c24d9e 100644 --- a/integration_tests/codegen_fail/fail/union/trait_non_object_variant.stderr +++ b/integration_tests/codegen_fail/fail/union/trait_non_object_variant.stderr @@ -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)