63198cdfcb
- support generic scalars - make it applicable to type aliases and struct/enums/unions
21 lines
1.1 KiB
Text
21 lines
1.1 KiB
Text
error[E0119]: conflicting implementations of trait `std::convert::From<ObjA>` for type `CharacterValueEnum<ObjA, ObjA>`
|
|
--> fail/interface/implementers_duplicate_ugly.rs:11:1
|
|
|
|
|
11 | #[graphql_interface(for = [ObjA, ObjAlias])]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
| |
|
|
| first implementation here
|
|
| conflicting implementation for `CharacterValueEnum<ObjA, ObjA>`
|
|
|
|
|
= note: this error originates in the attribute macro `graphql_interface` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0119]: conflicting implementations of trait `<CharacterValueEnum<ObjA, ObjA> as juniper::GraphQLInterface<__S>>::mark::_::{closure#0}::MutuallyExclusive` for type `ObjA`
|
|
--> fail/interface/implementers_duplicate_ugly.rs:11:1
|
|
|
|
|
11 | #[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)
|