Fix codegen tests for latest nightly
This commit is contained in:
parent
a648dd7275
commit
aff49ae5ec
22 changed files with 119 additions and 1131 deletions
|
@ -13,32 +13,9 @@ error[E0277]: the trait bound `ObjectA: IsInputType<__S>` is not satisfied
|
|||
<TypeKind as IsInputType<__S>>
|
||||
<Vec<T> as IsInputType<S>>
|
||||
<[T; N] as IsInputType<S>>
|
||||
and 13 others
|
||||
and $N others
|
||||
= note: this error originates in the derive macro `GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
|
||||
--> fail/input-object/derive_incompatible_field_type.rs:8:10
|
||||
|
|
||||
8 | #[derive(GraphQLInputObject)]
|
||||
| ^^^^^^^^^^^^^^^^^^ 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>>
|
||||
and 10 others
|
||||
note: required by a bound in `Registry::<'r, S>::arg`
|
||||
--> $WORKSPACE/juniper/src/executor/mod.rs
|
||||
|
|
||||
| T: GraphQLType<S> + FromInputValue<S>,
|
||||
| ^^^^^^^^^^^^^^^^^ required by this bound in `Registry::<'r, S>::arg`
|
||||
= note: this error originates in the derive macro `GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
|
||||
--> fail/input-object/derive_incompatible_field_type.rs:8:10
|
||||
|
|
||||
|
@ -54,7 +31,33 @@ error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
|
|||
<Vec<T> as FromInputValue<S>>
|
||||
<[T; N] as FromInputValue<S>>
|
||||
<bool as FromInputValue<__S>>
|
||||
and 10 others
|
||||
and $N others
|
||||
note: required by a bound in `Registry::<'r, S>::arg`
|
||||
--> $WORKSPACE/juniper/src/executor/mod.rs
|
||||
|
|
||||
| pub fn arg<T>(&mut self, name: &str, info: &T::TypeInfo) -> Argument<'r, S>
|
||||
| --- required by a bound in this associated function
|
||||
| where
|
||||
| T: GraphQLType<S> + FromInputValue<S>,
|
||||
| ^^^^^^^^^^^^^^^^^ required by this bound in `Registry::<'r, S>::arg`
|
||||
= note: this error originates in the derive macro `GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
|
||||
--> fail/input-object/derive_incompatible_field_type.rs:8:10
|
||||
|
|
||||
8 | #[derive(GraphQLInputObject)]
|
||||
| ^^^^^^^^^^^^^^^^^^ 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>>
|
||||
and $N others
|
||||
= note: this error originates in the derive macro `GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the trait bound `ObjectA: ToInputValue<_>` is not satisfied
|
||||
|
@ -72,5 +75,5 @@ error[E0277]: the trait bound `ObjectA: ToInputValue<_>` is not satisfied
|
|||
<ID as ToInputValue<__S>>
|
||||
<Object as ToInputValue<__S>>
|
||||
<TypeKind as ToInputValue<__S>>
|
||||
and 14 others
|
||||
and $N others
|
||||
= note: this error originates in the derive macro `GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -7,10 +7,10 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
|
|||
= 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>>
|
||||
<TypeKind as IsOutputType<__S>>
|
||||
and 18 others
|
||||
and $N others
|
||||
|
|
|
@ -9,35 +9,3 @@ error[E0412]: cannot find type `CharacterValue` in this scope
|
|||
|
|
||||
4 | #[graphql(impl = CharacterValue)]
|
||||
| ^^^^^^^^^^^^^^ not found in this scope
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_implementers_duplicate_pretty.rs:3:10
|
||||
|
|
||||
3 | #[derive(GraphQLObject)]
|
||||
| ^^^^^^^^^^^^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_implementers_duplicate_pretty.rs:3:10
|
||||
|
|
||||
3 | #[derive(GraphQLObject)]
|
||||
| ^^^^^^^^^^^^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_implementers_duplicate_pretty.rs:3:10
|
||||
|
|
||||
3 | #[derive(GraphQLObject)]
|
||||
| ^^^^^^^^^^^^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_implementers_duplicate_pretty.rs:3:10
|
||||
|
|
||||
3 | #[derive(GraphQLObject)]
|
||||
| ^^^^^^^^^^^^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -6,254 +6,6 @@ error[E0080]: evaluation of constant value failed
|
|||
|
|
||||
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0080]: evaluation of constant value failed
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
|
@ -261,67 +13,3 @@ error[E0080]: evaluation of constant value failed
|
|||
| ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id` isn't implemented on `ObjA`.', $DIR/fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -7,10 +7,10 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
|
|||
= 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>>
|
||||
<TypeKind as IsOutputType<__S>>
|
||||
and 18 others
|
||||
and $N others
|
||||
|
|
|
@ -9,35 +9,3 @@ error[E0412]: cannot find type `CharacterValue` in this scope
|
|||
|
|
||||
4 | #[graphql(impl = CharacterValue)]
|
||||
| ^^^^^^^^^^^^^^ not found in this scope
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_implementers_duplicate_pretty.rs:3:10
|
||||
|
|
||||
3 | #[derive(GraphQLObject)]
|
||||
| ^^^^^^^^^^^^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_implementers_duplicate_pretty.rs:3:10
|
||||
|
|
||||
3 | #[derive(GraphQLObject)]
|
||||
| ^^^^^^^^^^^^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_implementers_duplicate_pretty.rs:3:10
|
||||
|
|
||||
3 | #[derive(GraphQLObject)]
|
||||
| ^^^^^^^^^^^^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_implementers_duplicate_pretty.rs:3:10
|
||||
|
|
||||
3 | #[derive(GraphQLObject)]
|
||||
| ^^^^^^^^^^^^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -6,254 +6,6 @@ error[E0080]: evaluation of constant value failed
|
|||
|
|
||||
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0080]: evaluation of constant value failed
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
|
@ -261,67 +13,3 @@ error[E0080]: evaluation of constant value failed
|
|||
| ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id` isn't implemented on `ObjA`.', $DIR/fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -13,27 +13,30 @@ error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
|
|||
<Vec<T> as IsInputType<S>>
|
||||
<[T; N] as IsInputType<S>>
|
||||
<[T] as IsInputType<S>>
|
||||
and 12 others
|
||||
and $N others
|
||||
|
||||
error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
|
||||
--> fail/interface/trait/argument_non_input_type.rs:8:1
|
||||
|
|
||||
8 | #[graphql_interface]
|
||||
| ^^^^^^^^^^^^^^^^^^^^ 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>>
|
||||
<bson::datetime::DateTime as FromInputValue<__S>>
|
||||
and 9 others
|
||||
--> fail/interface/trait/argument_non_input_type.rs:8:1
|
||||
|
|
||||
8 | #[graphql_interface]
|
||||
| ^^^^^^^^^^^^^^^^^^^^ 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>>
|
||||
<bson::datetime::DateTime as FromInputValue<__S>>
|
||||
and $N others
|
||||
note: required by a bound in `Registry::<'r, S>::arg`
|
||||
--> $WORKSPACE/juniper/src/executor/mod.rs
|
||||
|
|
||||
| T: GraphQLType<S> + FromInputValue<S>,
|
||||
| ^^^^^^^^^^^^^^^^^ required by this bound in `Registry::<'r, S>::arg`
|
||||
= note: this error originates in the attribute macro `graphql_interface` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
--> $WORKSPACE/juniper/src/executor/mod.rs
|
||||
|
|
||||
| pub fn arg<T>(&mut self, name: &str, info: &T::TypeInfo) -> Argument<'r, S>
|
||||
| --- required by a bound in this associated function
|
||||
| where
|
||||
| T: GraphQLType<S> + FromInputValue<S>,
|
||||
| ^^^^^^^^^^^^^^^^^ required by this bound in `Registry::<'r, S>::arg`
|
||||
= note: this error originates in the attribute macro `graphql_interface` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -9,10 +9,10 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
|
|||
<&'a [u32; 4] as From<&'a ppv_lite86::x86_64::vec128_storage>>
|
||||
<&'a [u8] as From<&'a ascii::ascii_str::AsciiStr>>
|
||||
<&'a mut [ascii::ascii_char::AsciiChar] as From<&'a mut ascii::ascii_str::AsciiStr>>
|
||||
<[T; LANES] as From<Simd<T, LANES>>>
|
||||
<[bool; LANES] as From<Mask<T, LANES>>>
|
||||
<[u128; 1] as From<ppv_lite86::x86_64::vec128_storage>>
|
||||
<[u128; 2] as From<ppv_lite86::x86_64::vec256_storage>>
|
||||
<&'input [u8] as From<gimli::read::endian_slice::EndianSlice<'input, Endian>>>
|
||||
<[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)>>
|
||||
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)
|
||||
|
|
|
@ -7,10 +7,10 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
|
|||
= 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>>
|
||||
<TypeKind as IsOutputType<__S>>
|
||||
and 18 others
|
||||
and $N others
|
||||
|
|
|
@ -9,35 +9,3 @@ error[E0412]: cannot find type `CharacterValue` in this scope
|
|||
|
|
||||
4 | #[graphql(impl = CharacterValue)]
|
||||
| ^^^^^^^^^^^^^^ not found in this scope
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/implementers_duplicate_pretty.rs:3:10
|
||||
|
|
||||
3 | #[derive(GraphQLObject)]
|
||||
| ^^^^^^^^^^^^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/implementers_duplicate_pretty.rs:3:10
|
||||
|
|
||||
3 | #[derive(GraphQLObject)]
|
||||
| ^^^^^^^^^^^^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/implementers_duplicate_pretty.rs:3:10
|
||||
|
|
||||
3 | #[derive(GraphQLObject)]
|
||||
| ^^^^^^^^^^^^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/implementers_duplicate_pretty.rs:3:10
|
||||
|
|
||||
3 | #[derive(GraphQLObject)]
|
||||
| ^^^^^^^^^^^^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -6,254 +6,6 @@ error[E0080]: evaluation of constant value failed
|
|||
|
|
||||
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0080]: evaluation of constant value failed
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
|
@ -261,67 +13,3 @@ error[E0080]: evaluation of constant value failed
|
|||
| ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id` isn't implemented on `ObjA`.', $DIR/fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -34,6 +34,9 @@ error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
|
|||
note: required by a bound in `Registry::<'r, S>::arg`
|
||||
--> $WORKSPACE/juniper/src/executor/mod.rs
|
||||
|
|
||||
| pub fn arg<T>(&mut self, name: &str, info: &T::TypeInfo) -> Argument<'r, S>
|
||||
| --- required by a bound in this associated function
|
||||
| where
|
||||
| T: GraphQLType<S> + FromInputValue<S>,
|
||||
| ^^^^^^^^^^^^^^^^^ required by this bound in `Registry::<'r, S>::arg`
|
||||
= note: this error originates in the attribute macro `graphql_object` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -9,10 +9,10 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
|
|||
<&'a [u32; 4] as From<&'a ppv_lite86::x86_64::vec128_storage>>
|
||||
<&'a [u8] as From<&'a ascii::ascii_str::AsciiStr>>
|
||||
<&'a mut [ascii::ascii_char::AsciiChar] as From<&'a mut ascii::ascii_str::AsciiStr>>
|
||||
<[T; LANES] as From<Simd<T, LANES>>>
|
||||
<[bool; LANES] as From<Mask<T, LANES>>>
|
||||
<[u128; 1] as From<ppv_lite86::x86_64::vec128_storage>>
|
||||
<[u128; 2] as From<ppv_lite86::x86_64::vec256_storage>>
|
||||
<&'input [u8] as From<gimli::read::endian_slice::EndianSlice<'input, Endian>>>
|
||||
<[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)>>
|
||||
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)
|
||||
|
|
|
@ -7,10 +7,10 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
|
|||
= 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>>
|
||||
<TypeKind as IsOutputType<__S>>
|
||||
and 18 others
|
||||
and $N others
|
||||
|
|
|
@ -7,10 +7,10 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
|
|||
= 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>>
|
||||
<TypeKind as IsOutputType<__S>>
|
||||
and 18 others
|
||||
and $N others
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
warning: unused variable: `obj`
|
||||
--> fail/subscription/argument_non_input_type.rs:17:24
|
||||
|
|
||||
17 | async fn id(&self, obj: ObjA) -> Stream<'static, &'static str> {
|
||||
| ^^^ help: if this is intentional, prefix it with an underscore: `_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
|
||||
|
|
||||
|
@ -13,30 +21,7 @@ error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
|
|||
<Vec<T> as IsInputType<S>>
|
||||
<[T; N] as IsInputType<S>>
|
||||
<[T] as IsInputType<S>>
|
||||
and 12 others
|
||||
|
||||
error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
|
||||
--> fail/subscription/argument_non_input_type.rs:15:1
|
||||
|
|
||||
15 | #[graphql_subscription]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^ 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>>
|
||||
<bson::datetime::DateTime as FromInputValue<__S>>
|
||||
and 9 others
|
||||
note: required by a bound in `Registry::<'r, S>::arg`
|
||||
--> $WORKSPACE/juniper/src/executor/mod.rs
|
||||
|
|
||||
| T: GraphQLType<S> + FromInputValue<S>,
|
||||
| ^^^^^^^^^^^^^^^^^ required by this bound in `Registry::<'r, S>::arg`
|
||||
= note: this error originates in the attribute macro `graphql_subscription` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
and $N others
|
||||
|
||||
error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
|
||||
--> fail/subscription/argument_non_input_type.rs:15:1
|
||||
|
@ -53,5 +38,31 @@ error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
|
|||
<[T; N] as FromInputValue<S>>
|
||||
<bool as FromInputValue<__S>>
|
||||
<bson::datetime::DateTime as FromInputValue<__S>>
|
||||
and 9 others
|
||||
and $N others
|
||||
note: required by a bound in `Registry::<'r, S>::arg`
|
||||
--> $WORKSPACE/juniper/src/executor/mod.rs
|
||||
|
|
||||
| pub fn arg<T>(&mut self, name: &str, info: &T::TypeInfo) -> Argument<'r, S>
|
||||
| --- required by a bound in this associated function
|
||||
| where
|
||||
| T: GraphQLType<S> + FromInputValue<S>,
|
||||
| ^^^^^^^^^^^^^^^^^ required by this bound in `Registry::<'r, S>::arg`
|
||||
= note: this error originates in the attribute macro `graphql_subscription` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
|
||||
--> fail/subscription/argument_non_input_type.rs:15:1
|
||||
|
|
||||
15 | #[graphql_subscription]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^ 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>>
|
||||
<bson::datetime::DateTime as FromInputValue<__S>>
|
||||
and $N others
|
||||
= note: this error originates in the attribute macro `graphql_subscription` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -9,10 +9,10 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
|
|||
<&'a [u32; 4] as From<&'a ppv_lite86::x86_64::vec128_storage>>
|
||||
<&'a [u8] as From<&'a ascii::ascii_str::AsciiStr>>
|
||||
<&'a mut [ascii::ascii_char::AsciiChar] as From<&'a mut ascii::ascii_str::AsciiStr>>
|
||||
<[T; LANES] as From<Simd<T, LANES>>>
|
||||
<[bool; LANES] as From<Mask<T, LANES>>>
|
||||
<[u128; 1] as From<ppv_lite86::x86_64::vec128_storage>>
|
||||
<[u128; 2] as From<ppv_lite86::x86_64::vec256_storage>>
|
||||
<&'input [u8] as From<gimli::read::endian_slice::EndianSlice<'input, Endian>>>
|
||||
<[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)>>
|
||||
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)
|
||||
|
|
|
@ -7,10 +7,10 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
|
|||
= 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>>
|
||||
<TypeKind as IsOutputType<__S>>
|
||||
and 18 others
|
||||
and $N others
|
||||
|
|
|
@ -7,10 +7,10 @@ error[E0277]: the trait bound `Test: GraphQLObject<__S>` is not satisfied
|
|||
= help: the following other types implement trait `GraphQLObject<S>`:
|
||||
<&T as GraphQLObject<S>>
|
||||
<Arc<T> as GraphQLObject<S>>
|
||||
<Argument<'a, S> as GraphQLObject<S>>
|
||||
<Box<T> as GraphQLObject<S>>
|
||||
<EnumValue as GraphQLObject<__S>>
|
||||
<SchemaType<'a, S> as GraphQLObject<S>>
|
||||
<juniper::meta::Argument<'a, S> as GraphQLObject<S>>
|
||||
<juniper::meta::Field<'a, S> as GraphQLObject<S>>
|
||||
<juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>>
|
||||
<juniper::schema::model::TypeType<'a, S> as GraphQLObject<S>>
|
||||
|
|
|
@ -7,10 +7,10 @@ error[E0277]: the trait bound `Test: GraphQLObject<__S>` is not satisfied
|
|||
= help: the following other types implement trait `GraphQLObject<S>`:
|
||||
<&T as GraphQLObject<S>>
|
||||
<Arc<T> as GraphQLObject<S>>
|
||||
<Argument<'a, S> as GraphQLObject<S>>
|
||||
<Box<T> as GraphQLObject<S>>
|
||||
<EnumValue as GraphQLObject<__S>>
|
||||
<SchemaType<'a, S> as GraphQLObject<S>>
|
||||
<juniper::meta::Argument<'a, S> as GraphQLObject<S>>
|
||||
<juniper::meta::Field<'a, S> as GraphQLObject<S>>
|
||||
<juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>>
|
||||
<juniper::schema::model::TypeType<'a, S> as GraphQLObject<S>>
|
||||
|
|
|
@ -7,10 +7,10 @@ error[E0277]: the trait bound `Test: GraphQLObject<__S>` is not satisfied
|
|||
= help: the following other types implement trait `GraphQLObject<S>`:
|
||||
<&T as GraphQLObject<S>>
|
||||
<Arc<T> as GraphQLObject<S>>
|
||||
<Argument<'a, S> as GraphQLObject<S>>
|
||||
<Box<T> as GraphQLObject<S>>
|
||||
<EnumValue as GraphQLObject<__S>>
|
||||
<SchemaType<'a, S> as GraphQLObject<S>>
|
||||
<juniper::meta::Argument<'a, S> as GraphQLObject<S>>
|
||||
<juniper::meta::Field<'a, S> as GraphQLObject<S>>
|
||||
<juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>>
|
||||
<juniper::schema::model::TypeType<'a, S> as GraphQLObject<S>>
|
||||
|
|
Loading…
Reference in a new issue