juniper/integration_tests/codegen_fail/fail/interface/implementers_duplicate_ugly.stderr

37 lines
1.4 KiB
Text

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
|
18 | #[graphql_interface(for = [ObjA, ObjAlias])]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| first implementation here
| conflicting implementation for `ObjA`
|
= 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 | #[graphql_interface(for = [ObjA, ObjAlias])]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| first implementation here
| conflicting implementation for `CharacterValue`
|
= note: this error originates in the attribute macro `graphql_interface` (in Nightly builds, run with -Z macro-backtrace for more info)