Re-record fixtures for latest nightly error messages (#941)

This commit is contained in:
Christian Legnitto 2021-06-06 18:57:14 -04:00 committed by GitHub
parent 777b0d4349
commit 84a07c4a93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 841 additions and 25 deletions

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL enum expects at least one field
--> $DIR/derive_no_fields.rs:2:1
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error[E0277]: the trait bound `ObjectA: IsInputType<__S>` is not satisfied
--> $DIR/derive_incompatible_object.rs:6:10
|
@ -5,7 +21,7 @@ error[E0277]: the trait bound `ObjectA: IsInputType<__S>` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `IsInputType<__S>` is not implemented for `ObjectA`
|
= note: required by `juniper::marker::IsInputType::mark`
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the derive macro `juniper::GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
--> $DIR/derive_incompatible_object.rs:6:10
@ -13,7 +29,7 @@ error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
6 | #[derive(juniper::GraphQLInputObject)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjectA`
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the derive macro `juniper::GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
--> $DIR/derive_incompatible_object.rs:6:10
@ -22,7 +38,7 @@ error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjectA`
|
= note: required by `from_input_value`
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the derive macro `juniper::GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no method named `to_input_value` found for struct `ObjectA` in the current scope
--> $DIR/derive_incompatible_object.rs:6:10
@ -36,4 +52,4 @@ error[E0599]: no method named `to_input_value` found for struct `ObjectA` in the
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `to_input_value`, perhaps you need to implement it:
candidate #1: `ToInputValue`
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the derive macro `juniper::GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL input object expects at least one field
--> $DIR/derive_no_fields.rs:2:1
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: All types and directives defined within a schema must not have a name which begins with `__` (two underscores), as this is used exclusively by GraphQLs introspection system.
--> $DIR/derive_no_underscore.rs:3:15
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL input object does not allow fields with the same name
--> $DIR/derive_unique_name.rs:4:5
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: All types and directives defined within a schema must not have a name which begins with `__` (two underscores), as this is used exclusively by GraphQLs introspection system.
--> $DIR/argument_double_underscored.rs:14:18
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
--> $DIR/argument_non_input_type.rs:16:1
|
@ -5,7 +21,7 @@ error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `IsInputType<__S>` is not implemented for `ObjA`
|
= note: required by `juniper::marker::IsInputType::mark`
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the attribute macro `graphql_interface` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
--> $DIR/argument_non_input_type.rs:16:1
@ -13,4 +29,4 @@ error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
16 | #[graphql_interface(for = ObjA)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjA`
|
= note: this error originates in an attribute macro (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

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL interface trait method `as_obja` conflicts with the external downcast function `downcast_obja` declared on the trait to downcast into the implementer type `ObjA`
--> $DIR/downcast_method_conflicts_with_external_downcast_fn.rs:26:5
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL interface expects trait method to accept `&self` only and, optionally, `&Context`
--> $DIR/downcast_method_wrong_input_args.rs:10:10
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL interface expects trait method return type to be `Option<&ImplementerType>` only
--> $DIR/downcast_method_wrong_return_type.rs:10:40
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: All types and directives defined within a schema must not have a name which begins with `__` (two underscores), as this is used exclusively by GraphQLs introspection system.
--> $DIR/field_double_underscored.rs:14:8
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
--> $DIR/field_non_output_return_type.rs:17:1
|
@ -5,4 +21,4 @@ error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB`
|
= note: required by `juniper::marker::IsOutputType::mark`
= note: this error originates in an attribute macro (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

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL interface must have a different name for each field
--> $DIR/fields_duplicate.rs:13:1
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error[E0277]: the trait bound `ObjA: GraphQLObjectType<__S>` is not satisfied
--> $DIR/implementer_non_object_type.rs:15:1
|
@ -5,7 +21,7 @@ error[E0277]: the trait bound `ObjA: GraphQLObjectType<__S>` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `GraphQLObjectType<__S>` is not implemented for `ObjA`
|
= note: required by `juniper::marker::GraphQLObjectType::mark`
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the attribute macro `graphql_interface` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `ObjA: IsOutputType<__S>` is not satisfied
--> $DIR/implementer_non_object_type.rs:15:1
@ -14,4 +30,4 @@ error[E0277]: the trait bound `ObjA: IsOutputType<__S>` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjA`
|
= note: required by `juniper::marker::IsOutputType::mark`
= note: this error originates in an attribute macro (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

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: duplicated attribute argument found
--> $DIR/implementers_duplicate_pretty.rs:16:34
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error[E0119]: conflicting implementations of trait `<CharacterValue as juniper::GraphQLInterface<__S>>::mark::_::{closure#0}::MutuallyExclusive` for type `ObjA`
--> $DIR/implementers_duplicate_ugly.rs:18:1
|
@ -7,7 +23,7 @@ error[E0119]: conflicting implementations of trait `<CharacterValue as juniper::
| first implementation here
| conflicting implementation for `ObjA`
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `::juniper::sa::assert_type_ne_all` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0119]: conflicting implementations of trait `std::convert::From<ObjA>` for type `CharacterValue`
--> $DIR/implementers_duplicate_ugly.rs:18:1
@ -18,4 +34,4 @@ error[E0119]: conflicting implementations of trait `std::convert::From<ObjA>` fo
| first implementation here
| conflicting implementation for `CharacterValue`
|
= note: this error originates in an attribute macro (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

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: All types and directives defined within a schema must not have a name which begins with `__` (two underscores), as this is used exclusively by GraphQLs introspection system.
--> $DIR/name_double_underscored.rs:4:7
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL interface must have at least one field
--> $DIR/no_fields.rs:13:1
|

View file

@ -1,7 +1,23 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: #[graphql_interface] attribute is applicable to trait definitions and trait implementations only
--> $DIR/wrong_item.rs:8:1
|
8 | #[graphql_interface(for = ObjA)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in an attribute macro (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

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL object does not allow fields with the same name
--> $DIR/derive_fields_unique.rs:4:5
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL object expects at least one field
--> $DIR/derive_no_fields.rs:2:1
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: All types and directives defined within a schema must not have a name which begins with `__` (two underscores), as this is used exclusively by GraphQLs introspection system.
--> $DIR/derive_no_underscore.rs:3:15
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error[E0277]: the trait bound `Obj: IsInputType<__S>` is not satisfied
--> $DIR/impl_argument_no_object.rs:8:1
|
@ -5,7 +21,7 @@ error[E0277]: the trait bound `Obj: IsInputType<__S>` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `IsInputType<__S>` is not implemented for `Obj`
|
= note: required by `juniper::marker::IsInputType::mark`
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the attribute macro `juniper::graphql_object` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Obj: FromInputValue<__S>` is not satisfied
--> $DIR/impl_argument_no_object.rs:8:1
@ -13,7 +29,7 @@ error[E0277]: the trait bound `Obj: FromInputValue<__S>` is not satisfied
8 | #[juniper::graphql_object]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `Obj`
|
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the attribute macro `juniper::graphql_object` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Obj: FromInputValue` is not satisfied
--> $DIR/impl_argument_no_object.rs:8:1
@ -26,4 +42,4 @@ error[E0277]: the trait bound `Obj: FromInputValue` is not satisfied
| pub trait FromInputValue<S = DefaultScalarValue>: Sized {
| ------------------------------------------------------- required by this bound in `FromInputValue`
|
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the attribute macro `juniper::graphql_object` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL object does not allow fields with the same name
--> $DIR/impl_fields_unique.rs:9:5
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: All types and directives defined within a schema must not have a name which begins with `__` (two underscores), as this is used exclusively by GraphQLs introspection system.
--> $DIR/impl_no_argument_underscore.rs:5:29
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL object expects at least one field
--> $DIR/impl_no_fields.rs:4:1
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: All types and directives defined within a schema must not have a name which begins with `__` (two underscores), as this is used exclusively by GraphQLs introspection system.
--> $DIR/impl_no_underscore.rs:5:15
|

View file

@ -1,7 +1,23 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: #[graphql_union] attribute is applicable to trait definitions only
--> $DIR/attr_wrong_item.rs:3:1
|
3 | #[graphql_union]
| ^^^^^^^^^^^^^^^^
|
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the attribute macro `graphql_union` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL union can only be derived for enums and structs
--> $DIR/derive_wrong_item.rs:4:1
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL union variant `Human` already has external resolver function `resolve_fn1` declared on the enum
--> $DIR/enum_external_resolver_fn_conflicts_with_variant_external_resolver_fn.rs:6:15
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: All types and directives defined within a schema must not have a name which begins with `__` (two underscores), as this is used exclusively by GraphQLs introspection system.
--> $DIR/enum_name_double_underscored.rs:4:6
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL union expects at least one union variant
--> $DIR/enum_no_fields.rs:4:1
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error[E0277]: the trait bound `Test: GraphQLObjectType<__S>` is not satisfied
--> $DIR/enum_non_object_variant.rs:9:10
|
@ -5,4 +21,4 @@ error[E0277]: the trait bound `Test: GraphQLObjectType<__S>` is not satisfied
| ^^^^^^^^^^^^ the trait `GraphQLObjectType<__S>` is not implemented for `Test`
|
= note: required by `juniper::marker::GraphQLObjectType::mark`
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the derive macro `GraphQLUnion` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL union must have a different type for each union variant
--> $DIR/enum_same_type_pretty.rs:4:1
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error[E0119]: conflicting implementations of trait `<Character as juniper::GraphQLUnion<__S>>::mark::_::{closure#0}::MutuallyExclusive` for type `std::string::String`
--> $DIR/enum_same_type_ugly.rs:3:10
|
@ -7,4 +23,4 @@ error[E0119]: conflicting implementations of trait `<Character as juniper::Graph
| first implementation here
| conflicting implementation for `std::string::String`
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `::juniper::sa::assert_type_ne_all` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL union enum allows only unnamed variants with a single field, e.g. `Some(T)`
--> $DIR/enum_wrong_variant_field.rs:5:5
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: All types and directives defined within a schema must not have a name which begins with `__` (two underscores), as this is used exclusively by GraphQLs introspection system.
--> $DIR/struct_name_double_underscored.rs:5:8
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL union expects at least one union variant
--> $DIR/struct_no_fields.rs:4:1
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error[E0277]: the trait bound `Test: GraphQLObjectType<__S>` is not satisfied
--> $DIR/struct_non_object_variant.rs:9:10
|
@ -5,4 +21,4 @@ error[E0277]: the trait bound `Test: GraphQLObjectType<__S>` is not satisfied
| ^^^^^^^^^^^^ the trait `GraphQLObjectType<__S>` is not implemented for `Test`
|
= note: required by `juniper::marker::GraphQLObjectType::mark`
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the derive macro `GraphQLUnion` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: duplicated attribute argument found
--> $DIR/struct_same_type_pretty.rs:5:14
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error[E0119]: conflicting implementations of trait `<Character as juniper::GraphQLUnion<__S>>::mark::_::{closure#0}::MutuallyExclusive` for type `std::string::String`
--> $DIR/struct_same_type_ugly.rs:3:10
|
@ -7,4 +23,4 @@ error[E0119]: conflicting implementations of trait `<Character as juniper::Graph
| first implementation here
| conflicting implementation for `std::string::String`
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `::juniper::sa::assert_type_ne_all` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -1,11 +1,27 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error[E0277]: the trait bound `CustomContext: FromContext<SubContext>` is not satisfied
--> $DIR/trait_fail_infer_context.rs:3:1
|
3 | #[graphql_union]
| ^^^^^^^^^^^^^^^^ the trait `FromContext<SubContext>` is not implemented for `CustomContext`
| ^^^^^^^^^^^^^^^^ expected an implementor of trait `FromContext<SubContext>`
|
= note: required by `juniper::FromContext::from`
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the attribute macro `graphql_union` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0308]: mismatched types
--> $DIR/trait_fail_infer_context.rs:3:1
@ -15,4 +31,4 @@ error[E0308]: mismatched types
|
= note: expected reference `&CustomContext`
found reference `&SubContext`
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the attribute macro `graphql_union` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL union trait method `a` conflicts with the external resolver function `some_fn` declared on the trait to resolve the variant type `Human`
--> $DIR/trait_method_conflicts_with_external_resolver_fn.rs:5:5
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: All types and directives defined within a schema must not have a name which begins with `__` (two underscores), as this is used exclusively by GraphQLs introspection system.
--> $DIR/trait_name_double_underscored.rs:4:7
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL union expects at least one union variant
--> $DIR/trait_no_fields.rs:4:1
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error[E0277]: the trait bound `Test: GraphQLObjectType<__S>` is not satisfied
--> $DIR/trait_non_object_variant.rs:9:1
|
@ -5,4 +21,4 @@ error[E0277]: the trait bound `Test: GraphQLObjectType<__S>` is not satisfied
| ^^^^^^^^^^^^^^^^ the trait `GraphQLObjectType<__S>` is not implemented for `Test`
|
= note: required by `juniper::marker::GraphQLObjectType::mark`
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the attribute macro `graphql_union` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL union must have a different type for each union variant
--> $DIR/trait_same_type_pretty.rs:4:1
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error[E0119]: conflicting implementations of trait `<(dyn Character + std::marker::Send + std::marker::Sync + '__obj) as juniper::GraphQLUnion<__S>>::mark::_::{closure#0}::MutuallyExclusive` for type `std::string::String`
--> $DIR/trait_same_type_ugly.rs:3:1
|
@ -7,4 +23,4 @@ error[E0119]: conflicting implementations of trait `<(dyn Character + std::marke
| first implementation here
| conflicting implementation for `std::string::String`
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `::juniper::sa::assert_type_ne_all` (in Nightly builds, run with -Z macro-backtrace for more info)

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL union cannot use #[graphql(with = ...)] attribute on a trait method
--> $DIR/trait_with_attr_on_method.rs:5:15
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL union expects trait method to accept `&self` only and, optionally, `&Context`
--> $DIR/trait_wrong_method_input_args.rs:5:10
|

View file

@ -1,3 +1,19 @@
warning: field is never read: `enum_path`
--> $DIR/mod.rs:282:5
|
282 | pub enum_path: Option<TokenStream>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `span`
--> $DIR/mod.rs:296:5
|
296 | pub span: Span,
| ^^^^^^^^^^^^^^
warning: 2 warnings emitted
error: GraphQL union expects trait method return type to be `Option<&VariantType>` only
--> $DIR/trait_wrong_method_return_type.rs:5:20
|