Fix codegen tests for latest nightly

This commit is contained in:
tyranron 2023-06-23 13:11:52 +02:00
parent a648dd7275
commit aff49ae5ec
No known key found for this signature in database
GPG key ID: 762E144FB230A4F0
22 changed files with 119 additions and 1131 deletions

View file

@ -13,32 +13,9 @@ error[E0277]: the trait bound `ObjectA: IsInputType<__S>` is not satisfied
<TypeKind as IsInputType<__S>> <TypeKind as IsInputType<__S>>
<Vec<T> as IsInputType<S>> <Vec<T> as IsInputType<S>>
<[T; N] 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) = 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 error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
--> fail/input-object/derive_incompatible_field_type.rs:8:10 --> 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>> <Vec<T> as FromInputValue<S>>
<[T; N] as FromInputValue<S>> <[T; N] as FromInputValue<S>>
<bool 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) = 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 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>> <ID as ToInputValue<__S>>
<Object as ToInputValue<__S>> <Object as ToInputValue<__S>>
<TypeKind 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) = note: this error originates in the derive macro `GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -7,10 +7,10 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
= help: the following other types implement trait `IsOutputType<S>`: = help: the following other types implement trait `IsOutputType<S>`:
<&T as IsOutputType<S>> <&T as IsOutputType<S>>
<Arc<T> as IsOutputType<S>> <Arc<T> as IsOutputType<S>>
<Argument<'a, S> as IsOutputType<S>>
<Box<T> as IsOutputType<S>> <Box<T> as IsOutputType<S>>
<CharacterValueEnum as IsOutputType<__S>> <CharacterValueEnum as IsOutputType<__S>>
<EnumValue as IsOutputType<__S>> <EnumValue as IsOutputType<__S>>
<ID as IsOutputType<__S>> <ID as IsOutputType<__S>>
<SchemaType<'a, S> as IsOutputType<S>> <SchemaType<'a, S> as IsOutputType<S>>
<TypeKind as IsOutputType<__S>> and $N others
and 18 others

View file

@ -9,35 +9,3 @@ error[E0412]: cannot find type `CharacterValue` in this scope
| |
4 | #[graphql(impl = CharacterValue)] 4 | #[graphql(impl = CharacterValue)]
| ^^^^^^^^^^^^^^ not found in this scope | ^^^^^^^^^^^^^^ 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)

View file

@ -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: 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 error[E0080]: evaluation of constant value failed
--> fail/interface/struct/attr_missing_field.rs:11:5 --> 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 | ^^ 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: 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)

View file

@ -7,10 +7,10 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
= help: the following other types implement trait `IsOutputType<S>`: = help: the following other types implement trait `IsOutputType<S>`:
<&T as IsOutputType<S>> <&T as IsOutputType<S>>
<Arc<T> as IsOutputType<S>> <Arc<T> as IsOutputType<S>>
<Argument<'a, S> as IsOutputType<S>>
<Box<T> as IsOutputType<S>> <Box<T> as IsOutputType<S>>
<CharacterValueEnum as IsOutputType<__S>> <CharacterValueEnum as IsOutputType<__S>>
<EnumValue as IsOutputType<__S>> <EnumValue as IsOutputType<__S>>
<ID as IsOutputType<__S>> <ID as IsOutputType<__S>>
<SchemaType<'a, S> as IsOutputType<S>> <SchemaType<'a, S> as IsOutputType<S>>
<TypeKind as IsOutputType<__S>> and $N others
and 18 others

View file

@ -9,35 +9,3 @@ error[E0412]: cannot find type `CharacterValue` in this scope
| |
4 | #[graphql(impl = CharacterValue)] 4 | #[graphql(impl = CharacterValue)]
| ^^^^^^^^^^^^^^ not found in this scope | ^^^^^^^^^^^^^^ 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)

View file

@ -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: 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 error[E0080]: evaluation of constant value failed
--> fail/interface/struct/derive_missing_field.rs:12:5 --> 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 | ^^ 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: 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)

View file

@ -13,27 +13,30 @@ error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
<Vec<T> as IsInputType<S>> <Vec<T> as IsInputType<S>>
<[T; N] as IsInputType<S>> <[T; N] as IsInputType<S>>
<[T] as IsInputType<S>> <[T] as IsInputType<S>>
and 12 others and $N others
error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
--> fail/interface/trait/argument_non_input_type.rs:8:1 --> fail/interface/trait/argument_non_input_type.rs:8:1
| |
8 | #[graphql_interface] 8 | #[graphql_interface]
| ^^^^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjA` | ^^^^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjA`
| |
= help: the following other types implement trait `FromInputValue<S>`: = help: the following other types implement trait `FromInputValue<S>`:
<Arc<T> as FromInputValue<S>> <Arc<T> as FromInputValue<S>>
<Box<T> as FromInputValue<S>> <Box<T> as FromInputValue<S>>
<ID as FromInputValue<__S>> <ID as FromInputValue<__S>>
<TypeKind as FromInputValue<__S>> <TypeKind as FromInputValue<__S>>
<Vec<T> as FromInputValue<S>> <Vec<T> as FromInputValue<S>>
<[T; N] as FromInputValue<S>> <[T; N] as FromInputValue<S>>
<bool as FromInputValue<__S>> <bool as FromInputValue<__S>>
<bson::datetime::DateTime 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` note: required by a bound in `Registry::<'r, S>::arg`
--> $WORKSPACE/juniper/src/executor/mod.rs --> $WORKSPACE/juniper/src/executor/mod.rs
| |
| T: GraphQLType<S> + FromInputValue<S>, | pub fn arg<T>(&mut self, name: &str, info: &T::TypeInfo) -> Argument<'r, S>
| ^^^^^^^^^^^^^^^^^ required by this bound in `Registry::<'r, S>::arg` | --- required by a bound in this associated function
= note: this error originates in the attribute macro `graphql_interface` (in Nightly builds, run with -Z macro-backtrace for more info) | 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)

View file

@ -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 [u32; 4] as From<&'a ppv_lite86::x86_64::vec128_storage>>
<&'a [u8] as From<&'a ascii::ascii_str::AsciiStr>> <&'a [u8] as From<&'a ascii::ascii_str::AsciiStr>>
<&'a mut [ascii::ascii_char::AsciiChar] as From<&'a mut 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>>> <&'input [u8] as From<gimli::read::endian_slice::EndianSlice<'input, Endian>>>
<[bool; LANES] as From<Mask<T, LANES>>> <[T; 10] as From<(T, T, T, T, T, T, T, T, T, T)>>
<[u128; 1] as From<ppv_lite86::x86_64::vec128_storage>> <[T; 11] as From<(T, T, T, T, T, T, T, T, T, T, T)>>
<[u128; 2] as From<ppv_lite86::x86_64::vec256_storage>> <[T; 12] as From<(T, T, T, T, T, T, T, T, T, T, T, T)>>
and $N others and $N others
= note: required for `[bool; 3]` to implement `Into<[bool; 2]>` = 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) = note: this error originates in the attribute macro `graphql_interface` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -7,10 +7,10 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
= help: the following other types implement trait `IsOutputType<S>`: = help: the following other types implement trait `IsOutputType<S>`:
<&T as IsOutputType<S>> <&T as IsOutputType<S>>
<Arc<T> as IsOutputType<S>> <Arc<T> as IsOutputType<S>>
<Argument<'a, S> as IsOutputType<S>>
<Box<T> as IsOutputType<S>> <Box<T> as IsOutputType<S>>
<CharacterValueEnum as IsOutputType<__S>> <CharacterValueEnum as IsOutputType<__S>>
<EnumValue as IsOutputType<__S>> <EnumValue as IsOutputType<__S>>
<ID as IsOutputType<__S>> <ID as IsOutputType<__S>>
<SchemaType<'a, S> as IsOutputType<S>> <SchemaType<'a, S> as IsOutputType<S>>
<TypeKind as IsOutputType<__S>> and $N others
and 18 others

View file

@ -9,35 +9,3 @@ error[E0412]: cannot find type `CharacterValue` in this scope
| |
4 | #[graphql(impl = CharacterValue)] 4 | #[graphql(impl = CharacterValue)]
| ^^^^^^^^^^^^^^ not found in this scope | ^^^^^^^^^^^^^^ 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)

View file

@ -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: 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 error[E0080]: evaluation of constant value failed
--> fail/interface/trait/missing_field.rs:11:8 --> 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 | ^^ 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: 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)

View file

@ -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` note: required by a bound in `Registry::<'r, S>::arg`
--> $WORKSPACE/juniper/src/executor/mod.rs --> $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>, | T: GraphQLType<S> + FromInputValue<S>,
| ^^^^^^^^^^^^^^^^^ required by this bound in `Registry::<'r, S>::arg` | ^^^^^^^^^^^^^^^^^ 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) = note: this error originates in the attribute macro `graphql_object` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -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 [u32; 4] as From<&'a ppv_lite86::x86_64::vec128_storage>>
<&'a [u8] as From<&'a ascii::ascii_str::AsciiStr>> <&'a [u8] as From<&'a ascii::ascii_str::AsciiStr>>
<&'a mut [ascii::ascii_char::AsciiChar] as From<&'a mut 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>>> <&'input [u8] as From<gimli::read::endian_slice::EndianSlice<'input, Endian>>>
<[bool; LANES] as From<Mask<T, LANES>>> <[T; 10] as From<(T, T, T, T, T, T, T, T, T, T)>>
<[u128; 1] as From<ppv_lite86::x86_64::vec128_storage>> <[T; 11] as From<(T, T, T, T, T, T, T, T, T, T, T)>>
<[u128; 2] as From<ppv_lite86::x86_64::vec256_storage>> <[T; 12] as From<(T, T, T, T, T, T, T, T, T, T, T, T)>>
and $N others and $N others
= note: required for `[bool; 3]` to implement `Into<[bool; 2]>` = 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) = note: this error originates in the attribute macro `graphql_object` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -7,10 +7,10 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
= help: the following other types implement trait `IsOutputType<S>`: = help: the following other types implement trait `IsOutputType<S>`:
<&T as IsOutputType<S>> <&T as IsOutputType<S>>
<Arc<T> as IsOutputType<S>> <Arc<T> as IsOutputType<S>>
<Argument<'a, S> as IsOutputType<S>>
<Box<T> as IsOutputType<S>> <Box<T> as IsOutputType<S>>
<EnumValue as IsOutputType<__S>> <EnumValue as IsOutputType<__S>>
<ID as IsOutputType<__S>> <ID as IsOutputType<__S>>
<ObjA as IsOutputType<__S>> <ObjA as IsOutputType<__S>>
<SchemaType<'a, S> as IsOutputType<S>> <SchemaType<'a, S> as IsOutputType<S>>
<TypeKind as IsOutputType<__S>> and $N others
and 18 others

View file

@ -7,10 +7,10 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
= help: the following other types implement trait `IsOutputType<S>`: = help: the following other types implement trait `IsOutputType<S>`:
<&T as IsOutputType<S>> <&T as IsOutputType<S>>
<Arc<T> as IsOutputType<S>> <Arc<T> as IsOutputType<S>>
<Argument<'a, S> as IsOutputType<S>>
<Box<T> as IsOutputType<S>> <Box<T> as IsOutputType<S>>
<EnumValue as IsOutputType<__S>> <EnumValue as IsOutputType<__S>>
<ID as IsOutputType<__S>> <ID as IsOutputType<__S>>
<ObjA as IsOutputType<__S>> <ObjA as IsOutputType<__S>>
<SchemaType<'a, S> as IsOutputType<S>> <SchemaType<'a, S> as IsOutputType<S>>
<TypeKind as IsOutputType<__S>> and $N others
and 18 others

View file

@ -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 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:17:29
| |
@ -13,30 +21,7 @@ error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
<Vec<T> as IsInputType<S>> <Vec<T> as IsInputType<S>>
<[T; N] as IsInputType<S>> <[T; N] as IsInputType<S>>
<[T] 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/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)
error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
--> fail/subscription/argument_non_input_type.rs:15:1 --> 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>> <[T; N] as FromInputValue<S>>
<bool as FromInputValue<__S>> <bool as FromInputValue<__S>>
<bson::datetime::DateTime 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) = note: this error originates in the attribute macro `graphql_subscription` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -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 [u32; 4] as From<&'a ppv_lite86::x86_64::vec128_storage>>
<&'a [u8] as From<&'a ascii::ascii_str::AsciiStr>> <&'a [u8] as From<&'a ascii::ascii_str::AsciiStr>>
<&'a mut [ascii::ascii_char::AsciiChar] as From<&'a mut 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>>> <&'input [u8] as From<gimli::read::endian_slice::EndianSlice<'input, Endian>>>
<[bool; LANES] as From<Mask<T, LANES>>> <[T; 10] as From<(T, T, T, T, T, T, T, T, T, T)>>
<[u128; 1] as From<ppv_lite86::x86_64::vec128_storage>> <[T; 11] as From<(T, T, T, T, T, T, T, T, T, T, T)>>
<[u128; 2] as From<ppv_lite86::x86_64::vec256_storage>> <[T; 12] as From<(T, T, T, T, T, T, T, T, T, T, T, T)>>
and $N others and $N others
= note: required for `[bool; 3]` to implement `Into<[bool; 2]>` = 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) = note: this error originates in the attribute macro `graphql_subscription` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -7,10 +7,10 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
= help: the following other types implement trait `IsOutputType<S>`: = help: the following other types implement trait `IsOutputType<S>`:
<&T as IsOutputType<S>> <&T as IsOutputType<S>>
<Arc<T> as IsOutputType<S>> <Arc<T> as IsOutputType<S>>
<Argument<'a, S> as IsOutputType<S>>
<Box<T> as IsOutputType<S>> <Box<T> as IsOutputType<S>>
<EnumValue as IsOutputType<__S>> <EnumValue as IsOutputType<__S>>
<ID as IsOutputType<__S>> <ID as IsOutputType<__S>>
<ObjA as IsOutputType<__S>> <ObjA as IsOutputType<__S>>
<SchemaType<'a, S> as IsOutputType<S>> <SchemaType<'a, S> as IsOutputType<S>>
<TypeKind as IsOutputType<__S>> and $N others
and 18 others

View file

@ -7,10 +7,10 @@ error[E0277]: the trait bound `Test: GraphQLObject<__S>` is not satisfied
= help: the following other types implement trait `GraphQLObject<S>`: = help: the following other types implement trait `GraphQLObject<S>`:
<&T as GraphQLObject<S>> <&T as GraphQLObject<S>>
<Arc<T> as GraphQLObject<S>> <Arc<T> as GraphQLObject<S>>
<Argument<'a, S> as GraphQLObject<S>>
<Box<T> as GraphQLObject<S>> <Box<T> as GraphQLObject<S>>
<EnumValue as GraphQLObject<__S>> <EnumValue as GraphQLObject<__S>>
<SchemaType<'a, S> 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::meta::Field<'a, S> as GraphQLObject<S>>
<juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>> <juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>>
<juniper::schema::model::TypeType<'a, S> as GraphQLObject<S>> <juniper::schema::model::TypeType<'a, S> as GraphQLObject<S>>

View file

@ -7,10 +7,10 @@ error[E0277]: the trait bound `Test: GraphQLObject<__S>` is not satisfied
= help: the following other types implement trait `GraphQLObject<S>`: = help: the following other types implement trait `GraphQLObject<S>`:
<&T as GraphQLObject<S>> <&T as GraphQLObject<S>>
<Arc<T> as GraphQLObject<S>> <Arc<T> as GraphQLObject<S>>
<Argument<'a, S> as GraphQLObject<S>>
<Box<T> as GraphQLObject<S>> <Box<T> as GraphQLObject<S>>
<EnumValue as GraphQLObject<__S>> <EnumValue as GraphQLObject<__S>>
<SchemaType<'a, S> 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::meta::Field<'a, S> as GraphQLObject<S>>
<juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>> <juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>>
<juniper::schema::model::TypeType<'a, S> as GraphQLObject<S>> <juniper::schema::model::TypeType<'a, S> as GraphQLObject<S>>

View file

@ -7,10 +7,10 @@ error[E0277]: the trait bound `Test: GraphQLObject<__S>` is not satisfied
= help: the following other types implement trait `GraphQLObject<S>`: = help: the following other types implement trait `GraphQLObject<S>`:
<&T as GraphQLObject<S>> <&T as GraphQLObject<S>>
<Arc<T> as GraphQLObject<S>> <Arc<T> as GraphQLObject<S>>
<Argument<'a, S> as GraphQLObject<S>>
<Box<T> as GraphQLObject<S>> <Box<T> as GraphQLObject<S>>
<EnumValue as GraphQLObject<__S>> <EnumValue as GraphQLObject<__S>>
<SchemaType<'a, S> 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::meta::Field<'a, S> as GraphQLObject<S>>
<juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>> <juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>>
<juniper::schema::model::TypeType<'a, S> as GraphQLObject<S>> <juniper::schema::model::TypeType<'a, S> as GraphQLObject<S>>